Python's Installation Path
>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\\Users\\Roosta\\AppData\\Local\\Programs\\Python\\Python35-32'
>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\\Users\\Roosta\\AppData\\Local\\Programs\\Python\\Python35-32'
No comments:
Post a Comment