Live data from Hacker News

Intermediate Python

book.pythontips.com

21–30 of 81 posts

Re: Intermediate Python

#21
I like it. Really good.

The only point, I might not consider lists being mutable nor global values vs values returned from a function intermediate topics. Those are beginner topics I think.. one would have a hard time using the language almost at all without understanding them. I would say the part about decorators and kwargs args is more intermediate level. Anyone who gets to that probably already understands global variables and the fact certain data structures are mutable.

But not abuse your work. The book is nice. I learned a couple of things.

Re: Intermediate Python

#22
post #21

I like it. Really good. The only point, I might not consider lists being mutable nor global values vs values returned from a function intermediate topics. Those are beginner topics I think.. one would have a hard time using the language almost at all without understanding them. I would say the part about decorators and kwargs args is more intermediate level. Anyone who gets to that probably already understands global…

Hey! There is no problem with correcting me. If you think that I missed something or if there is something that can be improved and you think that you can make it much better then submit a pull request if you can. :) I would be more than happy to accept it.

Here is the GitHub repo: https://github.com/IntermediatePython/intermediatePython

Re: Intermediate Python

#23
post #16
post #5

Hi 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. :)

Thank you for making the PDF available.

Yes, thank you indeed. I found it very helpful and easy to digest.

Re: Intermediate Python

#27
Map and filter are looked down upon by some Python devs because they prefer list comprehensions. If you don't need the laziness (in Python 3 only), you probably shouldn't use them because some don't consider them idiomatic. See this for more information:

http://stackoverflow.com/a/6407222/384700

Re: Intermediate Python

#28

Map and filter are looked down upon by some Python devs because they prefer list comprehensions. If you don't need the laziness (in Python 3 only), you probably shouldn't use them because some don't consider them idiomatic. See this for more information: http://stackoverflow.com/a/6407222/384700

> If you don't need the laziness (in Python 3 only), you probably shouldn't use them ....

And if you do need the laziness, then you can use generator comprehensions.

Post reply on HN