win32 problems

Steve Holden sholden at bellatlantic.net
Wed May 24 17:49:50 EDT 2000


SC:

1.  Sorry, can't help.

2.  Rename your program to wpd.pyw and it will invoke
	the correct executable: no more DOS windows!

regards
 Steve

SC Zhong wrote:
> 
> 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/wpd.py'
> (wpd.py 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

--
"Bulding information systems just because it's fun."
Steve Holden  sholden at bellatlantic.net  703 716 7275



More information about the Python-list mailing list