Skip to content

batestin1/Alias_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ALIAS PYTHON

=================

Resume


TThis is a shell script for Ubuntu systems. It works for both Linux natives and WSL users. Here we make an alias for the python executors, giving the user the choice of which version of python he can choose to change his executor.

How install

  1. Make sure you have Bash installed on your machine.

  2. Download the alias_pyVersion.sh file to your machine.

  3. Give the alias_pyVersion.sh file execute permissions using the following command: chmod +x alias_pyVersion.sh.

  4. Run the script using the following command: source alias_pyVersion.sh.

Output

Available Python versions:
1: python2.7
2: python3.10
3: python3.7
4: python3.8
Enter the number corresponding to the Python version you want to use for the 'py' alias: 2
Successfully configured 'py' alias for Python python3.10.
Concluded.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages