I'm trying to learn how to use Python (IDLE using Python 3.4) on my Ubuntu computer, but i dont know how to open/run a .py file from the terminal from the desktop.
1 Answer
Save your program with .py extension
For example: hello.py
Open Terminal.., change directory to location where that program is located.
type
python3 ./File_name.py
For example: python3 ./hello.py
Refer here
-
Please drop by the AU general chat room and @Fabby me there for your other questions...– FabbyAug 25, 2015 at 12:35