weqopy
1/20/2018 - 6:03 AM

python and system info

print informations of python and system

import sys
import os

print(sys.executable)
print(sys.version)
print(sys.argv)
print(sys.path)

print('*' * 15)

for k, v in os.environ.items():
    print(k, ': ', v)