Last active
November 15, 2021 20:57
-
-
Save tchiavegatti/8c68aaec3ecf40f072dc7c41e2e5d751 to your computer and use it in GitHub Desktop.
[Check python version on a Jupyter notebook] #jupyter
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
# Check version runing on Jupyter notebook | |
from platform import python_version | |
print(python_version()) | |
# Check version inside your Python program | |
import sys | |
print(sys.version) | |
# Check version in command line or shell | |
python --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. Needed it for my project.