How do I check python version?

How do I check python version?
Answer
To check your Python version in your script,
run import sys
to get the module and use sys.

…

Check Python Version Linux (Exact Steps)
  1. Open the terminal application (for example, bash).
  2. Execute command : type in python –version or python -V and press enter.
  3. The Python version appears in the next line below your command.
 

Tìm kiếm

Back
Top