Someone had mentioned “generators” in python to me, so I decided to figure out what it was… and I figured it out. I think a simple example would help explain it:
>>> def fib(): … i1 = 0 … i2 = 1 … while True: … yield i2 … i3 = [...]
Someone had mentioned “generators” in python to me, so I decided to figure out what it was… and I figured it out. I think a simple example would help explain it:
>>> def fib(): … i1 = 0 … i2 = 1 … while True: … yield i2 … i3 = [...]
I’ve been tooling around with the DiggBar and I’ve been quite pleased… but I was a bit annoyed that it was hard to bookmark things in Delicious via the digg bar. I’d have to either close bar and then bookmark in delicious, or right click on the url in the DiggBar and then change [...]
You are currently browsing the Spindrop weblog archives for the month April, 2009.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Mar | May » | |||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
If you found our tutorials and articles to be useful, but are still looking for more hands on help, consider hiring us. Find out more about how Spindrop can help you.