Unix-head needs to Windows-ize his Python script (II)

Tim Golden mail at timgolden.me.uk
Fri Oct 22 16:38:46 CEST 2010


On 22/10/2010 15:25, gb345 wrote:
> 3. Both versions of the app work fine on Windows 7, as long as
> I do the following:
>    a. run CMD
>    b. cd to where the GUI script and my original script live
>    c. execute either
>
>       C:\Python27\python myapp_tk.py
>
>       or
>
>       C:\Python27\python myapp_wx.py

The standard python.org associates .py & .pyw files with
the installed interpreter. If you double-click on either
of those files it should just run. If you were to rename
the .py to a .pyw it would run without a console window
showing up.


TJG



More information about the Python-list mailing list