Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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>
Comment

running python script from terminal ubuntu

python <filename.py>
Comment

PREVIOUS NEXT
Code Example
Python :: lista to txt python 
Python :: how to convert string date to timestamp in python 
Python :: kaggle vs colab 
Python :: how to check django rest framework version 
Python :: merge and join dataframes with pandas in python 
Python :: get month name from datetime pandas 
Python :: multirow np.rand.randint 
Python :: how to replace first line of a textfile python 
Python :: how to get the percentage accuracy of a model in python 
Python :: selenium get parent element python 
Python :: python kill process by name 
Python :: python 64 bit 
Python :: replace character in column 
Python :: how to enable execution time in jupyter lab 
Python :: python big comment 
Python :: time.perf_counter 
Python :: what is pypy 
Python :: pathlib path exists 
Python :: numpy flatten 
Python :: pandas read column in date format 
Python :: how to take input in 2d list in python 
Python :: pandas apply function to every row 
Python :: how to fill a list in python 
Python :: upgrade python wsl 
Python :: change image resolution pillow 
Python :: python fibonacci 
Python :: append one row to pandas dataframe 
Python :: python with file 
Python :: radio button pyqt 
Python :: word generator in python 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =