How to Tell Python Version?

Run `python –version`

Run `python -V`

Run `python3 –version`

Run `python3 -V`

In Python, run `import sys; print(sys.version)`

In Python, run `import platform; print(platform.python_version())`

In a Jupyter notebook, run `!python –version`

In a terminal, run `py –version` on Windows

In a terminal, run `py -V` on Windows

Suggested for You

Trending Today