Answers for "show which versions of python"

2

python show current version

import sys
print("Python version")
print (sys.version)
print("Version info.")
print (sys.version_info)
Posted by: Guest on April-07-2021
0

how to check current version of library in python

#Let's say you want to check tensorflow version

import tensorflow as tf
tf.__version__
Posted by: Guest on January-15-2021

Python Answers by Framework

Browse Popular Code Answers by Language