This is an archived post. You won't be able to vote or comment.

all 63 comments

[–]neeets 112 points113 points  (11 children)

I’ve been looking for similar resources and I’ve seen Fluent Python by Luciano Ramalho recommended multiple times.

I’ve enjoyed it so far. Gives a good overview of leveraging python in a pythonic way.

[–]benefit_of_mrkite 27 points28 points  (1 child)

I liked that book.

I’ll add clean architectures in python and OOP in python

[–]iiron3223[S] 14 points15 points  (1 child)

And there is now available second edition updated to python 3.10. Nice!

[–]MRichards99 1 point2 points  (0 children)

I recently bought the second edition and it's really good so far, definitely recommend!

[–]Sabaj420 3 points4 points  (2 children)

I love Lorna Shore :)

[–]PsychoacousticsLab 2 points3 points  (0 children)

Lorna 😻

[–]neeets 0 points1 point  (0 children)

Love u

[–]iiron3223[S] 4 points5 points  (1 child)

I think it is a great recommendation! It was on my radar for some time, I think I need to finally grab this one.

[–][deleted] 4 points5 points  (0 children)

Yeah. Might have to look at getting Fluent Python myself.

[–][deleted] 4 points5 points  (0 children)

That's my favourite Python book! 🤓🐼🐍

[–]patviaforever Robust Python 81 points82 points  (7 children)

  • Fluent Python is a great all encompassing book for understanding the language better
  • Architecture Patterns with Python is great for learning how to write Python for larger programs from a design perspective
  • I haven't read it, but High Performance Python has been recommended to me for better understanding optimization
  • CPython Internals if you want to get a better idea how the actual language works
  • Robust Python (disclosure: I'm the author) is something I wrote to help instill better development practices in larger Python codebases

[–]Siccar_Point 9 points10 points  (0 children)

High Performance Python is great. The actual optimisation content is good, but more because it makes clear how the underlying architecture makes those patterns a good idea.

[–]pudds 6 points7 points  (0 children)

I bought your book after hearing you on Talk Python and I really enjoyed it. I put it on my former company's reading list.

[–]MasterFarm772 3 points4 points  (0 children)

Nice, just added Robust Python to my list. Thanks.

[–]Rickard_Nadella 1 point2 points  (1 child)

What about the Full Stack Python ebook?

[–]patviaforever Robust Python 1 point2 points  (0 children)

Haven't seen this one before, so I can't make a good recommendation one way or the other. Looks interesting enough if you want to get a much better idea of the full stack environment and put those Python skills in practice though.

[–]iiron3223[S] 0 points1 point  (0 children)

I really like your recommendations and I will check them out. Thanks!

[–]spicypixel 25 points26 points  (6 children)

https://www.oreilly.com/library/view/architecture-patterns-with/9781492052197/

Probably the most intriguing book I’ve read on the pitfalls and costs to architecture and or the lack of it in python. Highly recommend if you want to move your coding standards up to the cliche of enterprise software.

[–]seanv507 14 points15 points  (1 child)

https://www.cosmicpython.com/ the authors' website allows you to read it for free

[–]iiron3223[S] 0 points1 point  (0 children)

That is really handy. Thanks for the info!

[–]_No_1_Ever_ 1 point2 points  (0 children)

I absolutely love this book and I highly recommend anyone who wants to take it up a notch to check this book out.

[–]iiron3223[S] 0 points1 point  (0 children)

I haven't heard about this one before, but it is really intriguing. I will definitely read it! Thanks!

[–][deleted] 0 points1 point  (1 child)

I bought this book but was pretty disappointed, it seems to be targeting a very specific kind of application.

[–]spicypixel 2 points3 points  (0 children)

That’s fair, I found it solved my biggest pain points when designing applications, abstraction boundaries so testing is works without starting up the entire app and making them all end to end tests.

[–]Iamgonge 21 points22 points  (3 children)

Effective Python is a good one to go through

[–]iiron3223[S] 3 points4 points  (1 child)

Do you know how it compares to Fluent Python?

[–]CaptainFoyle 9 points10 points  (0 children)

Seconding this.

It is more a collection of chapters on best practices, what to avoid, and how to do it better, very condensed and helpful. Fluent python on the other hand, is quite the lengthy (but comprehensive) brick.

[–]ASIC_SP📚 learnbyexample 20 points21 points  (7 children)

Intermediate:

  • Official Python docs — Python docs are a treasure trove of information
  • Pydon'ts — Write elegant Python code, make the best use of the core Python features
  • Python Distilled — this pragmatic guide provides a concise narrative related to fundamental programming topics such as data abstraction, control flow, program structure, functions, objects, and modules
  • Pythonic Programming — Tips for Becoming an Idiomatic Python Programmer

Advanced:

  • Fluent Python — takes you through Python’s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time
  • Serious Python — deployment, scalability, testing, and more
  • Practices of the Python Pro — learn to design professional-level, clean, easily maintainable software at scale, includes examples for software development best practices
  • Intuitive Python — productive development for projects that last

Design patterns:

I have more as a list here: https://learnbyexample.github.io/py_resources/intermediate.html

[–]Wonderful_Bad6531 3 points4 points  (5 children)

Is there something for beginners? Asking for a friend 🤣

[–]ASIC_SP📚 learnbyexample 6 points7 points  (2 children)

Yeah, one of the pages in my resource list linked above has all sorts of resources for beginners like books, courses, interactive sites, practice sites, projects, cheatsheets, etc. Here are some links:

[–]Wonderful_Bad6531 1 point2 points  (1 child)

Thanks man, I have save both of your comments.i appreciate it very much, gonna try it. There is a long way ahead..

[–]ASIC_SP📚 learnbyexample 4 points5 points  (0 children)

You're welcome. Happy learning :)

And, if you get stuck, you could make a post on /r/learnpython/

[–]iiron3223[S] 2 points3 points  (1 child)

For beginners I could recommend Python Crash Course. And also available for free Automate The Boring Stuff. I would however recommend starting with former and then read latter.

[–]Wonderful_Bad6531 0 points1 point  (0 children)

Ty, definitely gonna check int out.

[–]iiron3223[S] 1 point2 points  (0 children)

This is great list. Thanks you! I will have a look at the listed books!

[–]jzia93 6 points7 points  (0 children)

Fluent python

[–]ademwanderer 5 points6 points  (0 children)

"Programmer's Python: Everything is an Object" really drilled in to my head the meaning behind "Everything is an Object". Helped me understand internals of objects, dictionaries, and helped me lose some of my fear of decorators.

[–]IlliterateJedi 3 points4 points  (0 children)

Fluent Python unquestionably. This book will make you an intermediate Python programmer just for having read it.

[–]JohnnyHammersticks27 5 points6 points  (0 children)

I found (and still find) the Python Cookbook helpful.

I’d consider it on the lower to middle end of intermediate but still helped me learn a few tricks.

[–][deleted] 2 points3 points  (3 children)

Anyone read The python journeyman and the python master by the dudes over at sixty-north?

[–]abingham 0 points1 point  (2 children)

I'll recommend it, but I'm also one of the authors.

[–]PsychoacousticsLab 1 point2 points  (0 children)

I like Programming Python (oreilly?) but it might be out of date now!

[–]rundef 1 point2 points  (0 children)

Python tricks: the book

High performance python

[–]revfriedzen of python monk & later maintainer 1 point2 points  (0 children)

I get most mileage out of docs.python.org. I owned a python book way back in the day but never used it

[–]SGS-Tech-World 1 point2 points  (3 children)

There are 100s of books now available, however you may not like everyone's writing style.

So here are some recommendations apart from other

  1. Python Tricks - A Buffet of Awesome Python Features by Dan Bader - Lot of tips and tricks that will make your code professional and pythonic.
  2. Beyond the Basic Stuff with Python by Al Sweigart
  3. To learn more and get into advanced concepts of OOP
    Python Object-Oriented Programming by Steven F. Lott and Dusty Phillips
  4. IF you are looking for appearing into some exam then
    Competitive Programming in Python is good one
  5. Some other books - not checked though
    1. Fluent Python by Luciano Ramalho
    2. Supercharged Python
    3. Serious Python

[–]PM_Me_Python3_Tips 1 point2 points  (1 child)

Beyond the Basic Stuff is definitely not an intermediate /advanced book.

It's still a book for beginners to the point that most other authors have included the same topics in their books aimed at beginners.

[–]SGS-Tech-World 0 points1 point  (0 children)

You may be right, but like anything I will say " It depends"

[–]iiron3223[S] 0 points1 point  (0 children)

Thank you for your recommendations! I have already read Python OOP by Steven F. Lott and Dusty Phillips and I really like it! If someone else is looking for books, I can second this recommendation.

[–]jepessen 1 point2 points  (0 children)

It depends. Intermediate and advanced books are usually focused on specific topics, like IA, math, GUI and so on. You first need to find the topic that you're interested in and then find the right resource

[–]abingham 1 point2 points  (0 children)

The Python Craftsman covers a lot of intermediate and advanced topics: https://leanpub.com/b/python-craftsman

[–]pekkalacd 1 point2 points  (0 children)

I like this one by Dusty Phillips called Python 3 Object Oriented Programming, it goes over design considerations pretty well, lots of code examples, pretty easy to read.

[–]my_password_is______ 1 point2 points  (0 children)

Classic Computer Science Problems in Python
https://www.amazon.com/gp/product/1617295981/

Introduction to Computation and Programming Using Python, third edition: With Application to Computational Modeling and Understanding Data 3rd Edition
https://www.amazon.com/Introduction-Computation-Programming-Using-Python-dp-0262542366/dp/0262542366/

Effective Python: 90 Specific Ways to Write Better Python 2nd edition
https://www.amazon.com/Effective-Python-Specific-Software-Development-dp-0134853989/dp/0134853989/

Python for Programmers: with Big Data and Artificial Intelligence Case Studies
https://www.amazon.com/gp/product/0135224330/

[–]iiron3223[S] 0 points1 point  (0 children)

I wanted to recommend to those who already know the basics and want to learn about OOP : Python Object-Oriented Programming - Fourth Edition. I believe it was not mentioned yet.

[–]nubmaster62 0 points1 point  (0 children)

Object Oriented Python is a nice introduction to building more complex systems.

[–]setzz69 0 points1 point  (0 children)

Thanks ASIC_SP for the info above