Windows versions of Python---pros and cons?

P. Alejandro Lopez-Valencia dradul at yahoo.com
Fri Jun 21 21:40:57 EDT 2002


"Mark Hammond" <mhammond at skippinet.com.au> escribió en el mensaje
news:3D125B79.6090903 at skippinet.com.au...
> Chris Barker wrote:
>
> > On that note: does anyone know if there is a way to turn a Python
script
> > into something that acts like an application on Windows...without
> > resorting to Py2exe and the like. What I want is something just
like:
>
> Add the .py extension to your PATHEXT environment variable, and you
can
> execute "foo.py" at the command prompt.  Like much of Windows, this is
> based on the extension rather than file attributes.

Ehem! :) This only works in WINNT class OSs that use cmd.exe as their
default command line processor. Lowly DOS32 OSs such as the Win98
mentioned by the OP, that only have command.com, just can't.




More information about the Python-list mailing list