RIght now, I type "python myfile.py" to run it.
How can I type "py myfile.py" to run it? Or better, do this ./myfile.py?
Any tips?
|
feedback
|
|
You can add this as the first line of your python script:
Which will allow you to run your script as:
But you must make sure you make your python script executable:
| |||||
feedback
|