Re: [python-win32] A little help for a n00b, please

2012-05-06 Thread Tim Golden
On 06/05/2012 02:24, Alan Jump wrote: Trying to massage an older package (not written by me) into functioning order. The issue I'm having is getting printing functionality to work. The code snippet in question: if platform.system() == 'Windows': try: import

Re: [python-win32] A little help for a n00b, please

2012-05-06 Thread Alan Jump
(Originally sent just to Tim...serves me right for trying to think before I've had my second cuppa.) Much obliged to both you and Vernon. I'm going to be adding quite a few code snippets to these emails, just to let the various search engines work their magic in case anyone besides me is running i

Re: [python-win32] A little help for a n00b, please

2012-05-06 Thread Tim Golden
On 06/05/2012 18:07, Alan Jump wrote: Much obliged to both you and Vernon. I'm going to be adding quite a few code snippets to these emails, just to let the various search engines work their magic in case anyone besides me is running into the same problem. I tried a couple of the extended comman

Re: [python-win32] A little help for a n00b, please

2012-05-06 Thread Alan Jump
I entered it in the shell, being too lazy to write a separate script file. The response is the same: Traceback (most recent call last): File "", line 1, in pywintypes.error: (31, 'ShellExecute', 'A device attached to the system is not functioning.') So it's apparently an issue with my system

Re: [python-win32] A little help for a n00b, please

2012-05-06 Thread Tim Golden
On 06/05/2012 18:37, Alan Jump wrote: I entered it in the shell, being too lazy to write a separate script file. The response is the same: Traceback (most recent call last): File "", line 1, in pywintypes.error: (31, 'ShellExecute', 'A device attached to the system is not functioning.') So