ways to execute python

Posted by lakshmipathi on Stack Overflow See other posts from Stack Overflow or by lakshmipathi
Published on 2010-03-24T09:18:05Z Indexed on 2010/03/24 9:23 UTC
Read the original article Hit count: 368

Filed under:
|

So far to execute a python program , I'm using

python file.py I want to run the python script simply using file name ,like file.py

similar to shell scripts like

sh file.sh

chmod +x file.sh

./file.sh

or move file.sh to bin and then run

file.sh

© Stack Overflow or respective owner

Related posts about python

Related posts about execute