Live data from Hacker News

Intermediate Python

book.pythontips.com

11–20 of 81 posts

Re: Intermediate Python

#13
post #8
post #4

Earlier 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…

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 debugging or performance optimization reasons want to break the loop after 1K lines.

Re: Intermediate Python

#14
I have put a link to a mailing list. If you want to tip me then kindly signup over there and I would let you know once I have a tip receiving system in place. I already run a reputed [Python Weekly Newsletter](http://newsletter.pythontips.com/) so you are in a good company (meaning I won't spam you).

Mailing list: http://eepurl.com/bwjcej

Re: Intermediate Python

#15
post #8

Earlier 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…

All beginner tutorials I used introduced "enumerate" early on.

Indexing is probably the first thing you're wondering about when you start coding in Python after coding in C.

Re: Intermediate Python

#18
post #10

It'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.

It's certainly an arduous task to determine what is intermediate and what isn't! And I think you did an excellent job, from looking at the table of contents (I'll have to take a closer look and have booked marked it for later). Unlike some the above posters, I learned metaclasses relatively early, but there are definitely some things in this book which I haven't seen before. Thank you.

Re: Intermediate Python

#19
post #12

It's interesting how a search for "metaclasses" in the given link doesn't yield any results.

Perhaps the author thought metaclasses are Advanced Python.

I'd tend to agree. I've been writing Python for years, and I still haven't had a legitimate use for them. Not to say that there's no use for them, they're handy when implementing an ORM. However, it's not often that you'd need to do something like that.
Post reply on HN