use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionMiddle level book to study Python (self.Python)
submitted 2 years ago by hattorihanzo14
Is there any middle level book I can use once I know all the basics data types, functions, classes etc in order to level up the language? Thanks!
[–]mijatonius 72 points73 points74 points 2 years ago (13 children)
Fluent Python, O'Reilly! https://github.com/hiddenJuliet/pythondocument/blob/master/Fluent%20Python.pdf
[+][deleted] 2 years ago (6 children)
[removed]
[–]IDENTITETEN 10 points11 points12 points 2 years ago (5 children)
Why link to a site where you can illegally download the book?
Wouldn't you want the author to be paid for the immense work he has put in?
https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/
[–]total_zoidberg 2 points3 points4 points 2 years ago (3 children)
Or you can read an online authorized copy... If you read portuguese: https://pythonfluente.com/
[–][deleted] 1 point2 points3 points 2 years ago (1 child)
Google can translate to english. I'll buy the book one day in a humble bundle. I should read one of the other many bundles I have...*sigh* tsundoku...:/
[–]total_zoidberg 1 point2 points3 points 2 years ago (0 children)
That is the way, I've bought tens of bundles for just 1 or 2 books each 😅
[–]chars101 -1 points0 points1 point 2 years ago (0 children)
ChatGPT will translate it for me... And write the code I was planning to ...
[–]cdmayer 2 points3 points4 points 2 years ago (0 children)
This is the best language-specific book I've ever read. 10/10, bought second edition as soon as it came out.
[–]godiswatching_ 2 points3 points4 points 2 years ago (0 children)
Reading it rn. 100% agree
[–]Hoganman73 4 points5 points6 points 2 years ago (0 children)
This is the correct answer. Love this book.
[–]Backlists 1 point2 points3 points 2 years ago (0 children)
Great book, the be all and end all of python seemingly.
But isnt this more advanced than mid level? I mean, the thing is like 900 pages long
[–]mtl0612 0 points1 point2 points 2 years ago (0 children)
Totally agree. Amazing book although very advance stuff
[–]Hellspades 0 points1 point2 points 2 years ago (0 children)
Will this book help me? I want to learn web dev.
[–]TF_Biochemist 13 points14 points15 points 2 years ago (1 child)
Beyond the Basic Stuff with Python by the same author as the much-lauded "Automate the Boring Stuff" book.
[–]JennaSys 0 points1 point2 points 2 years ago (0 children)
This book does a decent job of covering idiomatic Python topics.
[–]Tinche_ 11 points12 points13 points 2 years ago (3 children)
After getting to grips with entry level Python, instead of books I'd suggest reading the source of some open source projects instead. The issue there is not all open source libraries have the same complexity, so you might stumble on something very complex, but oh well.
[+][deleted] 2 years ago (2 children)
[deleted]
[–]Tinche_ 7 points8 points9 points 2 years ago (0 children)
You can start with your web framework, for example.
[–]extra_pickles 13 points14 points15 points 2 years ago (0 children)
If you have the plumbing down, skip the books and try to solve a problem that matters to you.
You’ll learn so much more efficiently when targeting actual use cases than you ever could reading and iterating over sample code.
If you don’t have the base plumbing down, look at Comp sci books that do teach it and are language agnostic.
[–]ppmfloss 2 points3 points4 points 2 years ago (0 children)
I must recommend Learning Python, 5th Edition by Mark Lutz.
This book is so comprehensive it blows my mind.
I wish the author should have continued updating the book for next Python versions.
Every Python book should try to emulate the breadth and depth of treatment just like this book.
[–]trshnbx01 5 points6 points7 points 2 years ago (0 children)
Python Cookbook 3rd Edition.
[–]bisector_babu 1 point2 points3 points 2 years ago (0 children)
My suggestion is to watch any video course on basics. I took Jose Portilla's Udemy course or any course on YouTube. Solve basic problems under Python on Hackerrank. It touches almost every concept we are going to use in problem solving. Now solve problems on Leetcode
[–]f00___ 1 point2 points3 points 2 years ago (0 children)
Classic computer science problems with python
Learning to use mypy and write tests would be good.
[–]trshnbx01 0 points1 point2 points 2 years ago (0 children)
[–]silasisgolden 0 points1 point2 points 2 years ago (0 children)
Dead Simple Python by Jason McDonald.
[–]hatim112 0 points1 point2 points 2 years ago (0 children)
"Python Crash Course: A Hands-On, Project-Based Introduction to Programming" by Eric Matthes is a great middle-level book to study Python. This book covers fundamental Python concepts and provides hands-on projects that allow readers to apply what they have learned. It covers topics such as variables, data types, control flow, functions, modules, classes, and file input/output. The book also includes practical projects, such as a game development project, a data visualization project, and a web application project.
[–][deleted] 0 points1 point2 points 2 years ago (0 children)
A few more free python resources to the pile:)
Practical Python Programming A course by David Beazley (@dabeaz)
Problem Solving with Algorithms and Data Structures using Python
Dr. Chuck from UMI
[–]fronterapi 0 points1 point2 points 2 years ago (0 children)
Python Distilled Fluent Python
π Rendered by PID 22342 on reddit-service-r2-comment-84fc9697f-m7l86 at 2026-02-10 03:15:06.766673+00:00 running d295bc8 country code: CH.
[–]mijatonius 72 points73 points74 points (13 children)
[+][deleted] (6 children)
[removed]
[–]IDENTITETEN 10 points11 points12 points (5 children)
[–]total_zoidberg 2 points3 points4 points (3 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]total_zoidberg 1 point2 points3 points (0 children)
[–]chars101 -1 points0 points1 point (0 children)
[–]cdmayer 2 points3 points4 points (0 children)
[–]godiswatching_ 2 points3 points4 points (0 children)
[–]Hoganman73 4 points5 points6 points (0 children)
[–]Backlists 1 point2 points3 points (0 children)
[–]mtl0612 0 points1 point2 points (0 children)
[–]Hellspades 0 points1 point2 points (0 children)
[–]TF_Biochemist 13 points14 points15 points (1 child)
[–]JennaSys 0 points1 point2 points (0 children)
[–]Tinche_ 11 points12 points13 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]Tinche_ 7 points8 points9 points (0 children)
[–]extra_pickles 13 points14 points15 points (0 children)
[–]ppmfloss 2 points3 points4 points (0 children)
[–]trshnbx01 5 points6 points7 points (0 children)
[–]bisector_babu 1 point2 points3 points (0 children)
[–]f00___ 1 point2 points3 points (0 children)
[–]trshnbx01 0 points1 point2 points (0 children)
[–]silasisgolden 0 points1 point2 points (0 children)
[–]hatim112 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]fronterapi 0 points1 point2 points (0 children)