Last active
March 27, 2020 17:00
-
-
Save ratchetwrench/e8cab9ff506053fc9035f00d9359a24d to your computer and use it in GitHub Desktop.
Know Which Version of Python You're Using
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To find out exactly which Python version you're using, you can use the --version flag | |
python --version | |
# Python 3 is usually available under the name python3 | |
# python3 --version | |
# You can also figure out the version with the runtime configuration | |
# import sys | |
# print(sys.version_info) | |
# print(sys.version) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment