how to check python version
# To check your Python version in the command line use:
python --version
# To check your Python verson inside a script use:
import sys
print(sys.version)
how to check python version
# To check your Python version in the command line use:
python --version
# To check your Python verson inside a script use:
import sys
print(sys.version)
python show current version
import sys
print("Python version")
print (sys.version)
print("Version info.")
print (sys.version_info)
how to check current version of library in python
#Let's say you want to check tensorflow version
import tensorflow as tf
tf.__version__
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us