Earl Eiland wrote:
In Linux, if I make the first line #!/path/to/Python, all I have to do
to execute the program is type ./FileName (assuming my pwd is the same
as FileName).  what's the Windows equivalent?
Earl

On Mon, 2005-03-07 at 13:36, F. Petitjean wrote:

Le Mon, 07 Mar 2005 13:25:35 -0700, Earl Eiland a Ãcrit :

How does one make a Python program auto-execute in Windows?

Earl


write a virus ? :-)

What do you mean by  auto-execute  ?

Regards



Look at the 'pathext' variable under the system's environmental variables. Add .py and .pyw to that and you're good to go.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to