Answers for "run python file in ubuntu"

1

how to execute python program in ubuntu

#to exicute a python file in Ubuntu follow the steps given below
sudo apt install python3 #run this command in your terminal 
#if python3 is already in your pc leave this command
#in the same terminal locate your file by using cd and run this command
python3 <The_python_file_name.py>
Posted by: Guest on September-27-2021
4

running python script from terminal ubuntu

python <filename.py>
Posted by: Guest on October-08-2020

Code answers related to "run python file in ubuntu"

Python Answers by Framework

Browse Popular Code Answers by Language