[IronPython] sys.argv in the interactive console

Sanghyeon Seo sanxiyn at gmail.com
Thu Nov 1 05:26:01 CET 2007


Using the interactive console,

$ python
>>> import sys
>>> sys.argv
['']

$ ipy # Both 1.1 and 2.0a5
>>> import sys
>>> sys.argv
[]

Believe it or not, some code depends on sys.argv[0] to be always available.

-- 
Seo Sanghyeon



More information about the Ironpython-users mailing list