"Martin v. Loewis" wrote: > > It's not clear to me what this patch would do, so I disagree. You are right. I wasn't clear enough. Everyone please vote on the following: 1) JimA writes import documentation and adds it to the current docs (where are they?) or in a new section (where should it go?). 2) The addition of sys.path[0] is changed to an earlier time so it occurs before any imports; so sys.path[0] works the same as sys.path[1:]. Currently it is added after some imports have occurred. 3) sys.path[0] is documented as the directory of the Python script and is an absolute path. In particular, "" is replaced with getcwd() (or equivalent for all supported OS's). So far, I have "+1", "True" and "Unimplementable in general" in the voting for item 3. 4) For the "-c" option, sys.argv[0] is getcwd() instead of "". JimA
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