windows和linux下查看python的版本、安装路径

windows 下命令:


1、进入cmd命令
2、查看python版本:输入python 
3、查看python安装路径:where python


Linux 下命令:


查看python版本:python -V  (直接执行命令:python)
查看python安装路径:whereis python

猜你喜欢

转载自blog.csdn.net/album_gyd/article/details/84647052