Hello everybody
After hard reading, full of enthusiasm I decided to write my first python script. So I coded :
Code:
#!/usr/bin/Python
print "hello world"
I named this complicated script "mypython.py", chmoded it 777 and went to run it but alas! What i got was :
Code:
bash: /home/ioannis/bin/mypython.py: /bin/python: bad interpreter: No such file or directory
returned :
After googling I tried to change the shebang to
Code:
#! /usr/bin/env python
with exactly the same response. I tried with no empty spaces in various combinations, an /n at the end of the line, change "python" to "Python 2.7.3" which is the version installed, still no luck
I have ubuntu 12.04, fresh install , no upgrade
Any ideas that could help me continue my march to the tops of python ??
Thanks in advance