Skip to content

python运维

python运维

  • 首页

python运维

python运维

  • 首页
2022年 11月 5日

【Python】查看当前使用的python的安装路径

  • 未分类
  • admin

【Python】查看当前使用的python的安装路径

如题,解决方案如下:

import sys
pythonpath = sys.executable
print(pythonpath)
  • 1
  • 2
  • 3

在这里插入图片描述

Copyright © 2022