Shell: run script

vincent wehren vincent at visualtrans.de
Wed Nov 26 14:10:32 EST 2003


"leroybt.rm" <leroybt at rocketmail.com> schrieb im Newsbeitrag
news:mailman.1114.1069872227.702.python-list at python.org...
| Can someone tell me how to run a script from a interactive shell
|
| I type the following:
|
| >>>python filename
| >>>python filename.py
| >>>run filename
| >>>run filename.py
| >>>/run filename
| >>>/run filename.py


You want to run a script from *inside the Python Interactive Shell*?  Or do
you want to run a Python script (*.py) as a program from any (other than the
Python shell)? Or did you mix these two things up?


Vincent Wehren







| and in all cases I get errors. I can't believe I can not run
| a script from the shell.
|
| What am I doing wrong?????
|
| Help!!!!!!!!!
|
|






More information about the Python-list mailing list