[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:

<code>

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

</code>

TJG

----------
nosy: +tim.golden

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2972>
_______________________________________


More information about the Python-bugs-list mailing list