win32 problems

Roger Upole rupole at
Wed May 17 17:07:22 EDT 2000

If you're printing via os.system(), it will create another process
(with a console).  You could run the print command with win32pipe.popen()
and the console will not be visible.

      Roger Upole
"SC Zhong" <sai at> wrote in message
news:Pine.SGI.3.91.1000517092901.14441A-100000 at
> would someone please help me for the two
> problems:
> 1. I installed the py152.exe in win98 (japanese
> version).  I started IDLE, load a python script for
> editing, then exit with 'Ctrl-D', there always will
> come an error message from windowns.  The message is
> somehow 'pythonw page violation, module: kernel32.dll,
> address: ...'.
> 2. I have problem setting up my hp workstation for
> a printer, so I wrote a 'print daemon' script, using
> the pc as my workstation's print server.  I put
> a line 'c:/progra~1/python/pythonw.exe d:/scripts/'
> ( is my script name) in the registry 'run' so that
> it can be started in the background when windows starts.
> The script works fine except that everytime I print
> something, a DOS windows will popup and then disappear.
> I read that the 'pythonw.exe' is for the silent mode
> with no 'console' popup, is it right? what can I do
> to get rid of the annoying DOS windows?
> thanks alot
> Sai c chung

More information about the Python-list mailing list