Newbie questions: write permission, interpreter minimizing

Gerhard Häring gerhard.haering at gmx.de
Fri Sep 20 20:56:13 CEST 2002


pcarey at lexmark.com wrote in comp.lang.python:
> I use PythonCardPrototype to make UI's.
> When launching these apps (double-clicking),
> the interpreter launches (as it should) and remains in the
> background (as it should)... but is there any way to automatically
> minimize the interpreter?

You can give your script a .pyw instead of a .py extension, which will
result in the script being launched with pythonw.exe intead of
python.exe. This way, you have a normal Windows GUI app, without any
console window. OTOH it's harder to track exceptions, but AFAIK
wxPython (and thus maybe PythonCard, too) has a way to show exceptions
in a GUI window.

-- Gerhard



More information about the Python-list mailing list