Executing scripts

Ken Fettig kfettig at state.nd.us
Thu Jul 10 11:33:33 EDT 2003


I am having a problem executing scripts from python. The script is located
at C:\Python22\learn and is named more.py. This is an example from the
Programming Python book by Mark Lutz published by O'Reilly. I have tried how
the author outlines to execute the script but it doesn't work. I am on a
Windows 2000 machine.
The example shows to, at the command line, enter C:\Python22\learn>python
more.py more.py. I get the following output:
>>> C:\Python22\learn>python more.py more.py
  File "<stdin>", line 1
    C:\Python22\learn>python more.py more.py
     ^
I have tried many combinations all unsuccessfully.  Can someone please help
me????

Thank you
Ken
kenfettig at btinet.net







More information about the Python-list mailing list