How To Know 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 virtual environment, run `python –version`

In Jupyter Notebook, run `!python –version`

Suggested for You

Trending Today