markpatterson
Registered
I would like to get past this hurdle: How do I do hello world in a Python script. I took the advice of http://developer.apple.com/unix/crossplatform.html, where they recommend doing this:
I saved that as hello.py, chmod +x'ed it, tried to run it and got this:
What am I doing wrong? It seems to be ignoring python altogether.
TIA,
Mark
Code:
#!/usr/bin/env python
print "Hello!"
Code:
Pattersons-eMac:~/dev/scripts mark$ hello.py
print "Hello!": No such file or directory
TIA,
Mark