Check how many versions of python

After we normally terminal input cmd python, if you have to install python, python version will come out about the information you have installed several versions, how many, but there is a, like me, only shows the python version after a carriage return is 3.7.5, and did not reflect how much bit, when you install other programs, this information is required corresponding to each other, then use the following solution

 

 

# Into the python environment, guided package 
>>> Import Platform
 >>> platform.architecture ()

result:

 

 

OK! so easy

Guess you like

Origin www.cnblogs.com/lutt/p/12079500.html