两种获取python版本的方法

方法1:查看python版本

import sys
print("当前python版本",sys.version)

方法2:cmd框中查看的两种方式

猜你喜欢

转载自www.cnblogs.com/studybrother/p/10909750.html