[IronPython] sys.argv in the interactive console
Dino Viehland
dinov at exchange.microsoft.com
Thu Nov 1 23:38:21 CET 2007
Thanks for the report Seo, I'll fix this for the next release.
-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Sanghyeon Seo
Sent: Wednesday, October 31, 2007 9:26 PM
To: Discussion of IronPython
Subject: [IronPython] sys.argv in the interactive console
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
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
More information about the Ironpython-users
mailing list