New submission from YoungBoy:
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.
--
assignee: docs@python
components: Documentation
messages: 257795
nosy: Wei, docs@python
priority: normal
severity: normal
status: open
title: sys.argv[0] is the python file, not ""
versions: Python 3.5
___
Python tracker
<http://bugs.python.org/issue26055>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com