> From: Alex Martelli [mailto:aleaxit at yahoo.com] > > Come to think of this, there may be other use cases for this > general approach than "random iterators". Do you think that > an iterator on a callable *and args for it* would live well in > itertools? That module IS, after all, your baby... Hmm - I like the idea of this. import itertools d10 = itertools.icall(random.randint, (1, 10,)) for i in range(10): print d10.next() Tim Delaney
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