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?
You can add this as the first line of your python script:
#!/usr/bin/env python
Which will allow you to run your script as:
./myfile.py
But you must make sure you make your python script executable:
chmod +x myfile.py