https://github.com/usagi/python-auto-switcher
execute with auto switching python3 and python2
https://github.com/usagi/python-auto-switcher
Last synced: 3 months ago
JSON representation
execute with auto switching python3 and python2
- Host: GitHub
- URL: https://github.com/usagi/python-auto-switcher
- Owner: usagi
- License: mit
- Created: 2012-04-18T08:59:57.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-18T09:03:23.000Z (about 13 years ago)
- Last Synced: 2025-01-13T11:11:21.546Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
python-auto-switcher
====================## What's this?
It make you a happy if you tired to a problems python3/python2 incompatible.
## Switching Method
This is a very simple shell script.
python3 $1 $2 $3 $4 $5 $6 $7 $8 $9 || python2 $1 $2 $3 $4 $5 $6 $7 $8 $9
It's try execute python3 first. And try python2 if failed python3.
## How to Install(to your System)
1. you need get super user permission.
2. remove your python symbolic link.(maybe: /usr/bin/python)
3. copy or symbolic link to /usr/bin/python from this packages "bin/python.sh".## How to Uninstall(from your System)
1. you need get the super user permission.
2. remove "/usr/bin/python"
3. (symbolic link to /usr/bin/python from python3 or python2 if you want.)## License
- MIT/X11
## Contact
- GitHub
- Usagi Ito
- Wonder Rabbit Project