python 查看python执行文件位置

import sys
import os
print(os.path.dirname(sys.executable))
posted @ 2021-09-13 12:12  Ay1e  阅读(123)  评论(0)    收藏  举报