TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Advanced Python Coding Books

32 点作者 excitednumber将近 4 年前
What is a highly recommended advanced python (3.x+) concepts and coding book?<p>@decorators for class methods, type coercion, other stuff that may be deemed &quot;interesting&quot; or advanced that I&#x27;m not thinking of.<p>I came across a few books published ~2013 which I&#x27;d consider dated.<p>It may also just be a matter of reading the latest python documentation.<p>Thanks for any input.

10 条评论

RMPR将近 4 年前
Effective Python by Brett Slatkin is very good, still going through the Second Edition, but I like the practical side of this book.<p>If you want to go really deeper like the inner working of CPython I&#x27;d recommend Anthony Shaw&#x27;s CPython internals. It has been on my radar for some time now, still going through the serie of blog posts from tenthousandmeters[0]<p>0: <a href="https:&#x2F;&#x2F;tenthousandmeters.com&#x2F;blog&#x2F;python-behind-the-scenes-1-how-the-cpython-vm-works&#x2F;" rel="nofollow">https:&#x2F;&#x2F;tenthousandmeters.com&#x2F;blog&#x2F;python-behind-the-scenes-...</a>
评论 #27676402 未加载
timellis-smith将近 4 年前
As an intermediate to advanced Python text book, I would highly recommend Fluent Python.<p>It covers a lot of the fundamental concepts in Python explaining why a lot of things are as they are.
sitkack将近 4 年前
I recommend checking out the talks by David Beazley <a href="https:&#x2F;&#x2F;dabeaz.com&#x2F;talks.html" rel="nofollow">https:&#x2F;&#x2F;dabeaz.com&#x2F;talks.html</a>
asicsp将近 4 年前
* Fluent Python<p>* Serious Python<p>* Practices of the Python Pro<p>There are also good blog posts, SO answers, etc on many of these concepts. I have a few links collected here: <a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;py_resources&#x2F;specific.html" rel="nofollow">https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;py_resources&#x2F;specific.html</a>
Shosty123将近 4 年前
I&#x27;d recommend Fred Baptiste&#x27;s Python Deep Dive series on Udemy:<p><a href="https:&#x2F;&#x2F;www.udemy.com&#x2F;user&#x2F;fredbaptiste&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.udemy.com&#x2F;user&#x2F;fredbaptiste&#x2F;</a><p>He has 4 courses spanning 130+ hours of content covering pretty much every aspect of Python at a deep level.
benzesandbetter将近 4 年前
My personal favorite is Expert Python Programming by Tarek Ziadé and Michał Jaworski.<p>Python High Performance by Gabriele Lanaro is also quite good.
fermigier将近 4 年前
Fluent Python 2nd ed. is available as a preprint on oreilly.com. Highly recommended.
FridayoLeary将近 4 年前
Also, can you recommend beginner python books. thanks.
评论 #27677375 未加载
评论 #27689458 未加载
kilodeca将近 4 年前
Read the spec
评论 #27679214 未加载
stonecharioteer将近 4 年前
Python 201 is a great resource. I&#x27;ve recommended it to a lot of people. Fluent Python is also great. There <i>is</i> a physical version of the CPython book by Anthony Shaw.<p>Additionally, have you tried visiting a random page of the Python Documentation? I recommend reading about the data model [1], or the execution model [2], the import system [3], and the data types sections [4]<p>I also recommend reading a few of the PEPs. Some of the more recent ones which are really interesting are:<p>1. PEP 635 - Structural Pattern Matching: Motivation and Rationale [5] 2. PEP 636 - Structural Pattern Matching: Tutorial [6] 3. PEP 483 - The Theory of Type Hints [7] 4. PEP 572 - Assignment Expressions [8]<p>The thing about books is that while they&#x27;re are a good introduction, you won&#x27;t get these things from the books. The docs exist for a reason, and if they&#x27;re not good, feel free to file a PR. However note that the Python docs are really well written :)<p>I also personally recommend the RealPython blog. It has a LOT of articles on the topics you mentioned. On the note of decorators btw, you should learn how to use two python functions: `id`, and `dir` [9]. They are the most powerful tools in my repertoire, and I only grok the advanced topics because I know how to use these.<p>References: 1. <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;reference&#x2F;datamodel.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;reference&#x2F;datamodel.html</a> 2. <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;reference&#x2F;executionmodel.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;reference&#x2F;executionmodel.html</a> 3. <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;reference&#x2F;import.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;reference&#x2F;import.html</a> 4. <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;datatypes.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;datatypes.html</a> 5. <a href="https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0635&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0635&#x2F;</a> 6. <a href="https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0636&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0636&#x2F;</a> 7. <a href="https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0483&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0483&#x2F;</a> 8. <a href="https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0572&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.python.org&#x2F;dev&#x2F;peps&#x2F;pep-0572&#x2F;</a> 9. <a href="https:&#x2F;&#x2F;realpython.com&#x2F;lessons&#x2F;dir-function&#x2F;" rel="nofollow">https:&#x2F;&#x2F;realpython.com&#x2F;lessons&#x2F;dir-function&#x2F;</a>