-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
A mention could be deserved by list comprensions and generators (on which an entire chapter, maybe, should be done).
Specifically, you may want to explain the difference between
[requests.get('http://website.com/page/{}'.format(x) for x in range(0,10)]
and
(requests.get('http://website.com/page/{}'.format(x) for x in range(0,10))
which is a very powerful example on how generators may help during software development.