[issue2972] arguments and default path not set in site.py and sitecustomize.py

Tim Golden report at bugs.python.org
Mon Sep 27 15:20:55 CEST 2010

Tim Golden <mail at timgolden.me.uk> added the comment:

Merely from a Windows point-of-view, you could get the full
command line fairly easily:


import ctypes
pstring = ctypes.windll.kernel32.GetCommandLineW ()
print (ctypes.c_wchar_p (pstring).value)



nosy: +tim.golden

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list