Menu

#4 Need to expose sys.argv[] in standard fashion

open
nobody
None
5
2013-01-25
2012-09-01
Dave W.
No

Dave,
Regarding this help forum post: https://sourceforge.net/projects/npppythonscript/forums/forum/1188886/topic/5602158/index/page/1
could you consider exposing the sys.argv variable to client code, with the script name as element 0?
I think this would help keep other standard library modules, like Tkinter, from breaking when they look for it and don't have try/catch or fallback code in place.

Thanks,
Dave W.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.