On Monday 15 April 2002 12:18 am, you wrote: > >>>>> "GvR" == Guido van Rossum <guido@python.org> writes: > > GvR> To the contrary. Only problem is how to prevent loading all > GvR> of optik when one imports getopt.getopt (and getopt.error). > > Too bad modules can't have __getattr__'s :) Wouldn't the same instance-as-module trick as in, e.g. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65207 let you make a "module-with-__getattr__" to most intents&purposes? Alex
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