Re: autoexecution in Windows

2005-03-13 Thread Thorsten Kampe
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

Re: autoexecution in Windows

2005-03-08 Thread Peter Hansen
Bill wrote: I can double click on a .py file and it executes, or use the command prompt. I believe if you install the Activestate distribution it sets up the file registrations automatically. As does the standard Windows distribution from python.org. -Peter -- http://mail.python.org/mailman/listinf

Re: autoexecution in Windows

2005-03-07 Thread Bill
Earl Eiland wrote: > How does one make a Python program auto-execute in Windows? > > Earl You need to have files with .py or .pyo or .py registered to open with the python interpreter. In Windows Explorer, choose the menu item Tools->Folder Options and select the File Types tab to see how registe

Re: autoexecution in Windows

2005-03-07 Thread Earl Eiland
O.K. I stand corrected. "auto-execute is the wrong term. Earl On Mon, 2005-03-07 at 14:03, rbt wrote: > Earl Eiland wrote: > > How does one make a Python program auto-execute in Windows? > > > > Earl > > > > No program (python or other) can just arbitrarily execute. A user has to > click it

Re: autoexecution in Windows

2005-03-07 Thread "Martin v. Löwis"
Earl Eiland wrote: How does one make a Python program auto-execute in Windows? Use any of the mechanisms to make an arbitrary program auto-execute (do you want on boot, on login, or what?), and use c:\pythonXY\python.exe as the executable name; use the script name as the first argument. Regards, Ma

Re: autoexecution in Windows

2005-03-07 Thread rbt
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, Ea

Re: autoexecution in Windows

2005-03-07 Thread rbt
Earl Eiland wrote: How does one make a Python program auto-execute in Windows? Earl No program (python or other) can just arbitrarily execute. A user has to click it or a cron-like utility (Task Scheduler) has to execute it at a set time. registry entries (such as run) can execute programs too. A

Re: autoexecution in Windows

2005-03-07 Thread Earl Eiland
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 Ãcri

Re: autoexecution in Windows

2005-03-07 Thread F. Petitjean
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 -- http://mail.python.org/mailman/listinfo/python-list

autoexecution in Windows

2005-03-07 Thread Earl Eiland
How does one make a Python program auto-execute in Windows? Earl -- http://mail.python.org/mailman/listinfo/python-list