This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Wei
Recipients Wei, docs@python
Date 2016-01-09.04:38:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452314296.6.0.563314730517.issue26055@psf.upfronthosting.co.za>
In-reply-to
Content
python tutorial 2.1.1
You can access this list by executing import sys. The length of the list is at least one; when no script and no arguments are given, sys.argv[0] is an empty string. 

but, when i try it, the sys.argv[0]is the filename,not empty string.
History
Date User Action Args
2016-01-09 04:38:16Weisetrecipients: + Wei, docs@python
2016-01-09 04:38:16Weisetmessageid: <1452314296.6.0.563314730517.issue26055@psf.upfronthosting.co.za>
2016-01-09 04:38:16Weilinkissue26055 messages
2016-01-09 04:38:16Weicreate