What Version of Python Do I Have Ubuntu?

What Version of Python Do I Have Ubuntu?
Contents

What version of Python is installed Ubuntu?

Check Python Version Ubuntu (Exact Steps)

Open terminal: type “terminal”, click on the terminal app. Execute command : type python –version or python -V and press enter. The Python version appears in the next line right below your command.

How do I tell which version of Python I have?

Check Python version from command line / in script

  1. Check the Python version on the command line: –version , -V , -VV.
  2. Check the Python version in the script: sys , platform. Various information strings including version number: sys.version. Tuple of version numbers: sys.version_info. Version number string: platform.python_version()

20 сент. 2019 г.

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.