Created
April 16, 2021 00:28
-
-
Save jimbrayrcp/d371e57c11bed4b53788d3968afeafa2 to your computer and use it in GitHub Desktop.
return system info from pycharm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
import pkg_resources | |
from pprint import pprint | |
pprint({ | |
'sys.version_info': sys.version_info, | |
'sys.prefix': sys.prefix, | |
'sys.path': sys.path, | |
'pkg_resources.working_set': list(pkg_resources.working_set), | |
'PATH': os.environ['PATH'].split(os.pathsep), | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment