Intermediate Python
11–20 of 81 posts
Re: Intermediate Python
#12It's interesting how a search for "metaclasses" in the given link doesn't yield any results.
Re: Intermediate Python
#13Earlier quoted context omitted.
That is totally different from my book :) I haven't read it so I can not tell how much different it is from mine. Perhaps you can tell if you have read it?
I think your book goes for breadth of topics while his primarily focuses on solid understanding of iterators, generators, and decorators. p.s. I only looked at the "Enumeration" page in your book, and I don't think it belongs in an "intermediate" level Python book. The use of optional arguments makes little sense to me (not something I wanted to know about Python after I learned the basics). I'm sure other chapters h…
Re: Intermediate Python
#14Mailing list: http://eepurl.com/bwjcej
Re: Intermediate Python
#15Earlier quoted context omitted.
I think your book goes for breadth of topics while his primarily focuses on solid understanding of iterators, generators, and decorators. p.s. I only looked at the "Enumeration" page in your book, and I don't think it belongs in an "intermediate" level Python book. The use of optional arguments makes little sense to me (not something I wanted to know about Python after I learned the basics). I'm sure other chapters h…
I consider myself somewhere in the spectrum between beginner and intermediate and I use enumeration quite often. I picked it up early on in a tutorial by Andrew Montalenti (founder of http://www.parsely.com and quite active in the Python community) and use it ever since instead of wrapping it into another loop like beginner tutorials teach you. For example if I need to read in a file with 5 million lines but for debu…
Indexing is probably the first thing you're wondering about when you start coding in Python after coding in C.
Re: Intermediate Python
#16Hi guys! I am the author of this book. Thanks heyalexej for posting this here. If there is anything I can help you guys with then kindly let me know. :)
Re: Intermediate Python
#17Re: Intermediate Python
#18It's interesting how a search for "metaclasses" in the given link doesn't yield any results.
That is advanced level stuff :) If you want to add it to this book then kindly go ahead. This book is open source.
Re: Intermediate Python
#19It's interesting how a search for "metaclasses" in the given link doesn't yield any results.
Perhaps the author thought metaclasses are Advanced Python.
Re: Intermediate Python
#20 from contextlib import contextmanager
I love this feature, I never forget to close a connection. It can also be useful for monkey patching, or thread local variable based optimizations.