Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sys.orig_argv
sys.argv
1 parent b25b746 commit 1836f67Copy full SHA for 1836f67
1 file changed
Doc/library/sys.rst
@@ -1293,7 +1293,10 @@ always available.
1293
The list of the original command line arguments passed to the Python
1294
executable.
1295
1296
- See also :data:`sys.argv`.
+ The elements of :data:`sys.orig_argv` are the arguments to the Python interpreter,
1297
+ while the elements of :data:`sys.argv` are the arguments to the user's program.
1298
+ Arguments consumed by the interpreter itself will be present in :data:`sys.orig_argv`
1299
+ and missing from :data:`sys.argv`.
1300
1301
.. versionadded:: 3.10
1302
0 commit comments