>>>>> "SM" == Skip Montanaro <skip@pobox.com> writes: SM> How about "optionparser" or "optionlib"? BAW> I really think we should expose Optik's main parser class BAW> through getopt, which we'd make into a package. I didn't see BAW> any response to my previous suggestion, does everybody else BAW> hate it? ;) SM> I assume this can be done without changing the apparent SM> interface to the getopt class? That is, if I import getopt SM> will getopt.getopt still reference what getopt.getopt does SM> today? Yes. Move getopt.py to getopt/_getopt.py and put this in getopt/__init__.py: # For backwards compatibility from _getopt import getopt, error, GetoptError # For convenience from OptionParser import OptionParser so some such similar incantation (I don't remember off-hand whether the module names should be fully-qualified or not). -Barry
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