Neil Schemenauer <nas@python.ca> writes: > It would be really cool if this worked: > > import time > now = property(lambda m: time.time()) > > Obviously a silly example but I hope the idea is clear. Is there a > reason this couldn't be made to work? This would make referring to a variable inside and outside a module do different things, no? Urg. Cheers, M. -- Just point your web browser at http://www.python.org/search/ and look for "program", "doesn't", "work", or "my". Whenever you find someone else whose program didn't work, don't do what they did. Repeat as needed. -- Tim Peters, on python-help, 16 Jun 1998
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