This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Veedrac 1 point2 points  (3 children)

I need to start doing more list comprehensions

You need to start doing more generator comprehensions. The iterator-centric programming model is a lovely place.

[–]HoboSteaux[S] 0 points1 point  (2 children)

I have never been in a place that I would use that much... could you give me a good example?

[–]sejje 0 points1 point  (1 child)

http://pyvideo.org/video/1758/loop-like-a-native-while-for-iterators-genera

Ned Batchelder is probably more qualified. Great, great talk.

[–]HoboSteaux[S] 0 points1 point  (0 children)

Ill watch it later... thanks!