Get Python Version In Code

[Solved] Get Python Version In Code | Python - Code Explorer | yomemimo.com
Question : Check Python Version

Answered by : kshitij

python3 --version

Source : | Last Update : Mon, 01 Feb 21

Question : get python version in code

Answered by : black-buzzard-t09qr8eynnxh

import platform
print(platform.python_version())

Source : | Last Update : Tue, 24 Nov 20

Question : check python version

Answered by : curious-civet-t7osszb2qaby

python --version

Source : | Last Update : Tue, 05 May 20

Question : python print version

Answered by : open-orangutan-10sqwcljjwgd

import sys
print(sys.version)

Source : | Last Update : Wed, 22 Apr 20

Question : check python version

Answered by : raman-maharjan

# To check your Python version in the command line use:
py --version

Source : | Last Update : Tue, 26 Jul 22

Answers related to get python version in code

Code Explorer Popular Question For Python