-5

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.

0

1 Answer 1

0

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

1

Not the answer you're looking for? Browse other questions tagged .