E
Earl Eiland
How does one make a Python program auto-execute in Windows?
Earl
Earl
write a virus ?How does one make a Python program auto-execute in Windows?
Earl
Earl said:How does one make a Python program auto-execute in Windows?
Earl
Earl said: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
Earl said:How does one make a Python program auto-execute in Windows?
Earl said:How does one make a Python program auto-execute in Windows?
Earl
Bill said: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.
Look at the 'pathext' variable under the system's environmental
variables. Add .py and .pyw to that and you're good to go.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.