[Pythonmac-SIG] Newbie Q: ARGV

John Martin jmartin@abs.net
Sat, 10 Jun 2000 22:23:52 -0400

I know this is a stupid q, but I've hit run out of thoughts.  I have a
script called fred.py that in DOS/Unix expects to be run by typing:

% python fred.py filename

How do I run this on Mac?  Should I be able to just open the IDE and type:

>>>fred.py filename


>>>fred filename

?  Neither one works.  The response I get is elipsis, to which I hit return,
so my window looks like this:

>>> fred.py filename
  File "<string>", line 1
     fred.py filename
 SyntaxError: invalid syntax