[Tutor] Further help needed!

John Fouhy john at fouhy.net
Wed Jan 4 22:53:48 CET 2006

[resending 'cause I forgot to address to tutor..]

On 05/01/06, John Corry <john.corry at ntlword.com> wrote:
> This code works on windows XP + Windows 2000.  However it does not work on
> windows 98SE.  I have tried this code on 3 seperate machines with windows
> 98SE.  They all come up with the same error:
>  File
> "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
> line 310, in RunScript
>     exec codeObject in __main__.__dict__
>   File "C:\test\Script1.py", line 12, in ?
>     0
> error: (31, 'ShellExecute', 'A device attached to the system is not
> functioning.')

Have you verified that the printer on your Win98 machine does work?

For example, create a text file on that computer.  In Windows
Explorer, right-click on the text file and select 'print' from the
context menu.  What happens?


More information about the Tutor mailing list