How to check the version of the system installed python

method one: 

Using python -V at the command line

 

 

Method Two: 

Enter python interactive mode, you can see the version information in the first line of the python at the command line

 

 

Guess you like

Origin www.cnblogs.com/aisowe/p/11956903.html