Get info
import sys, os
def get_info():
info = dict(
py= sys.version,
exec = sys.executable,
cwd = os.getcwd(),
plat = sys.platform,
)
tmpl = """
Pyhton : \t{py}
Executable : \t{exec}
Platform : \t{plat}
Current Dir : \t{cwd}"""
print(tmpl.format(**info))
if __main__ == "__name__":
get_info()