Message257795
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. |
|
Date |
User |
Action |
Args |
2016-01-09 04:38:16 | Wei | set | recipients:
+ Wei, docs@python |
2016-01-09 04:38:16 | Wei | set | messageid: <1452314296.6.0.563314730517.issue26055@psf.upfronthosting.co.za> |
2016-01-09 04:38:16 | Wei | link | issue26055 messages |
2016-01-09 04:38:16 | Wei | create | |
|