【Python】sys接口

sys.executable()

官網地址:https://docs.python.org/2/library/sys.html?highlight=sys%20executable#sys.executable

源解釋:A string giving the absolute path of the executable binary for the Python interpreter, on systems where this makes sense. If Python is unable to retrieve the real path to its executable, sys.executable will be an empty string or None

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章