Skip to content

Reading URL #122

Answered by pmp-p
erasmushaggblom asked this question in Q&A
Oct 11, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

you will find "id=232jaklzo" in PyConfig.orig_argv, sys.argv is after the # not the ?

eg
?cpython311&-i&-X&dev#main.py 0 1 2 3 will give

>>> 
>>> PyConfig.orig_argv
['cpython311', '-i', '-X', 'dev']
>>> sys.argv
['main.py', '0', '1', '2', '3']
>>> 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@erasmushaggblom
Comment options

Answer selected by pmp-p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants