>>>>> "AM" == Alex Martelli <aleax@aleax.it> writes: AM> Wouldn't the same instance-as-module trick as in, e.g. AM> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65207 AM> let you make a "module-with-__getattr__" to most AM> intents&purposes? Yes, nice. Okay, I'll work something up and submit it as a patch to the Optik project on SF. Then Greg can fiddle with it and check it in if he likes it. >>>>> "MM" == Michael McLay <mjm42@comcast.net> writes: MM> Pmw (Python Megawidgets, http://pmw.sourceforge.net/) has a MM> lazy loader. It is loaded by __init__.py when the Pmw package MM> is loaded. The loader is in Pmw/Pmw_0_8_5/lib/PmwLoader.py Seems quite a bit more complicated than the recipe. -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