3 ms·
What do you want to achieve by learning advanced Python? What does advanced Python mean to you? Answers will dictate what makes sense for you. Since you said
by kamikaz1k 4y ago
What do you want to achieve by learning advanced Python?
What does advanced Python mean to you?
Answers will dictate what makes sense for you. Since you said you're a Django dev, maybe try re-implementing a library/dependency you use. Start with something obvious, and then maybe something less so.
You'll learn quickly how much of it is advanced Python vs advanced Django. Python is very deep, but you don't really need to know most of it. And the ones who do, know it because they were trying to accomplish something specific.[1]
[1] Tweet about slots by author of Flask - https://mobile.twitter.com/mitsuhiko/status/500432913381748739 https://mobile.twitter.com/mitsuhiko/status/5004329133817487...
- rlawson 4y agoOP here. Thanks for replying. Most of my Django code is dead simple - validation, business logic, crud operations. Loops, conditionals, the occasional string manipulation, dicts, sets and exception handling. Very rarely a list comp. Almost never dunder methods, writing an annotation, oop, generators, worrying about concurrency, threads, locks, etc. Things that I know the equivalent of in Java very well since I came from that world.
- markedle 4y agoCheck out Fluent Python https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/ https://www.oreilly.com/library/view/fluent-python-2nd/97814... The list of things you never use reads just like the table of contents of the book. I've only read 1st edition but I imagine the 2nd edition is more relevant now.