Skip to content

Instantly share code, notes, and snippets.

@willingc
Last active December 24, 2015 06:24
Show Gist options
  • Save willingc/9ff70a642b54023cc8d4 to your computer and use it in GitHub Desktop.
Save willingc/9ff70a642b54023cc8d4 to your computer and use it in GitHub Desktop.
Check python versions on your system
#!/bin/bash
# checkmypython.sh
#
# Make sure that to run this script that you have given the script
# permissions suitable for executing
echo "Running checkmypython.sh"
echo "This script checkmypython.sh gives info about your Python environment"
echo "Python versions"
python --version
python3 --version
echo "Path of Python installations"
which python
which python3
echo "End of script"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment