On Mon, 07 Mar 2005 16:06:46 -0500, rbt wrote:

> 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.

No, that's just so you can omit the extension.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to