Help! Can't get program to run.
Arnaud Delobelle
arnodel at googlemail.com
Sat May 2 16:30:16 EDT 2009
seanm.py at gmail.com writes:
> sean-marimpietris-computer:~ seanmarimpietri$ python
> Python 2.6.2 (r262:71600, Apr 16 2009, 09:17:39)
> [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> python module1.py
> File "<stdin>", line 1
> python module1.py
> ^
> SyntaxError: invalid syntax
>
>
>
> Again, any help would be appreciated. Thanks.
>From Terminal.app, this should work:
sean-marimpietris-computer:~ seanmarimpietri$ python module1.py
Assuming that your module1.py file is in /Users/seanmarimpietri/
--
Arnaud
More information about the Python-list
mailing list