[Pythonmac-SIG] Cant open file

beegee beegee bgquest at gmail.com
Sat Jun 20 19:39:03 CEST 2009


Hello,I am new to python, I have a mac os tiger 10.4.11
I created a simple text file using textwrangler
and wrote the following code :

print "Hello World"

I saved this file on my desktop as *first_print.py*
I opened terminal
I typed python
and I got >>> as the prompt
I typed *python first_print.py*
and I got the following error message:

python first_print.py
/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python:
can't open file 'first_print.py': [Errno 2] No such file or directory


please help
Also please let me know as to what is this error message for? what does it
tell a user
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090620/4b488cd9/attachment.htm>


More information about the Pythonmac-SIG mailing list