Jeremy Hylton writes: > FLD> Did you test this when argv[0] is something like > FLD> './/foo/bin/python'? > > No. Two questions: What would that mean? How could I generate it? That should mean the same as './foo/bin/python' since multiple '/' are equivalent to a single '/' on Unix. (Same for r'\' on Windows since this won't interfere with UNC paths (like '\\host\foo\bin...')). You can do this using fork/exec. -Fred -- Fred L. Drake, Jr. <fdrake at beopen.com> BeOpen PythonLabs Team Member
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4