The Python Oracle

How can you obtain the OS's argv[0] (not sys.argv[0]) in Python?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Isolated

--

Chapters
00:00 Question
01:15 Accepted answer (Score 7)
01:53 Thank you

--

Full question
https://stackoverflow.com/questions/4867...

Question links:
[here]: http://bytes.com/topic/python/answers/24...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python

#avk47