commit | a63d9f4d9fdd4d659d80628e4429129351fc61cb | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jul 24 01:31:37 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jul 24 01:31:37 1996 +0000 |
tree | 38992eb593e953b6ebd0b38d834e1783079572d2 | |
parent | 3b8e20d2c2022f49376578f230ea1cbb54f694f7 [diff] |
As a side effect of calling PySys_SetArgv (setpythonargv), the directory containing argv[0] is inserted in front of sys.path. If argv[0] contains no directory, an empty string is inserted. If argv is empty, nothing happens.