Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

link python3 to python3.7

Damn, Python is used throughout much of Ubuntu for system scripts and software,
and software relies on having Python (and the commands to start Python)
in a certain spot. do back then.

rm /usr/bin/python3 
ln -s /usr/bin/python3.7 /usr/bin/python3 

# create alias in ~/.bash_aliases

alias python3='/usr/bin/python3.7' 
Scripts can then start with something like:

#!/usr/bin/env python3 
Comment

PREVIOUS NEXT
Code Example
Python :: all alphanumeric characters for python python 
Python :: python unzip list 
Python :: location of last row dataframe 
Python :: bot ping discord.py 
Python :: export a dataframe to excel pandas 
Python :: delete files with same extensions 
Python :: pop vs remove python 
Python :: spread operator python 
Python :: how to seperate words and number in a list 
Python :: how to get all folders on path in python 
Python :: Python - Count the Number of Keys in a Python Dictionary 
Python :: set image size mapltotlib pyplot 
Python :: How to Convert Strings to Datetime in Pandas DataFrame 
Python :: Get a random joke in python 
Python :: right angle triangle in python 
Python :: python swap two elements 
Python :: numpy check if 2 array identical 
Python :: del keyword in python 
Python :: sort the dictionary in python 
Python :: convert keys to values in python 
Python :: np.hstack 
Python :: stack overflow python timedate 
Python :: Column names reading csv file python 
Python :: pandas concatenate 
Python :: pandas dataframe scan column for values between numbers 
Python :: phone number regex python 
Python :: comparing two dataframe columns 
Python :: uniform distribution python example 
Python :: python set remove 
Python :: case statement in pandas 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =