Horje
how to check python version Code Example
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)
terminal python version
# in python
$ python --version

# in python3
$ python3 --version
check python version
python --versrion
print(sys.version_info)
# sys.version_info(major=3, minor=8, micro=3, releaselevel='final', serial=0)

import platform
print(platform.python_version())

import sys
print(sys.version)
how to check python version
python --version
python version
python ––version
how to check python version
python --version #in command line

python #or by enterng interactiv mode




15

Related
python read json file Code Example python read json file Code Example
random number python Code Example random number python Code Example
pandas create new column Code Example pandas create new column Code Example
how to make a class in python Code Example how to make a class in python Code Example
how to add a column to a pandas df Code Example how to add a column to a pandas df Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8