Answers for "python version through command line"

6

terminal python version

# in python
$ python --version

# in python3
$ python3 --version
Posted by: Guest on May-28-2020
5

python version command

import sys
print(sys.version)
Posted by: Guest on April-15-2020

Code answers related to "python version through command line"

Python Answers by Framework

Browse Popular Code Answers by Language