Chris Angelico wrote:
On Sat, Jul 30, 2011 at 7:39 PM, Ethan Furman <et...@stoneleaf.us> wrote:
Well, you /could/ have followed the link and read the explanation there...
;)
I tend to avoid clicking random links in posts :)
Ah -- I understand.
How it works: since the sys.argv object does yet exist...
That's the bit I didn't understand. I assume that's just the way it
is, then. Your cool trick is primarily because something else will
later modify sys.argv... and as such. it is indeed very cool.
Yup -- I suspect sitecustomize is primarily intended for path
manipulation and as such happens before a lot of other basic bootstrap
stuff (like setting sys.argv).
~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list