我对某些官方标准文档也有同感,不过看到这个后就松了口气:http://www.doughellmann.com/PyMOTW/。我也强烈推荐看看 Doug Hellman 的书《The Python Standard Library by Example》。他用浅显的解释和丰富的例子把每一个(或者说几乎每一个)标准库模块都过了一遍。
I felt that way about some of the standard documentation but was relieved to find: http://www.doughellmann.com/PyMOTW/ I also highly recommend checking out Doug Hellman's book 'The Python Standard Library by Example'. He presents every (or almost every) standard library module with simple explanations and plenty of examples.
挺惊讶居然没人提 Doug Hellman 的优质资源。他的书《The Python Standard Library by Example》基本上就是他的 PyMOTW 项目(http://www.doughellmann.com/PyMOTW/)的印刷版。虽然不是那种从头到尾带你入门的“零基础学 Python”,但那些例子——至少就我而言——让我琢磨出了好多以前没想过的问题……
I'm surprised nobody has mentioned Doug Hellman's great resources. His book "The Python Standard Library by Example" is basically a print version of his PyMOTW project (http://www.doughellmann.com/PyMOTW/). While not an end to end "learn Python" the examples, at least in my case, have led me to ask quite a few questions…
……这方面的方向。你想学计算机科学基础?那你可能需要一本数据结构书。你只是想继续深入学习这门语言和标准库?Doug Hellman 的《The Python Standard Library by Example》是很好的参考书。统计学?Web 开发?这得看具体需求了。
…something in that direction. Do you want to learn computer sciences basics? You might want a data structures book. Do you just want to continue to learn the language and standard libraries? Doug Hellman's The Python Standard Library by Example is a good reference. Statistics? Web development? It depends.
这个空白被“Python 每周模块”(Python Module of the Week)系列(https://pymotw.com/3/)填补得很好,它侧重于示例代码而不是那种死板的详尽文档。我记得这个博客后来出成了书,名字就叫《The Python Standard Library by Example》。
This gap is very nicely filled by the Python Module of the Week series https://pymotw.com/3/ which focuses on examples rather than exhaustive docs. I believe the blog is coming out as a book called "Python standard library by example".
我对某些官方标准文档也有同感,不过看到这个后就松了口气:http://www.doughellmann.com/PyMOTW/。我也强烈推荐看看 Doug Hellman 的书《The Python Standard Library by Example》。他用浅显的解释和丰富的例子把每一个(或者说几乎每一个)标准库模块都过了一遍。
I felt that way about some of the standard documentation but was relieved to find: http://www.doughellmann.com/PyMOTW/ I also highly recommend checking out Doug Hellman's book 'The Python Standard Library by Example'. He presents every (or almost every) standard library module with simple explanations and plenty of examples.
挺惊讶居然没人提 Doug Hellman 的优质资源。他的书《The Python Standard Library by Example》基本上就是他的 PyMOTW 项目(http://www.doughellmann.com/PyMOTW/)的印刷版。虽然不是那种从头到尾带你入门的“零基础学 Python”,但那些例子——至少就我而言——让我琢磨出了好多以前没想过的问题……
I'm surprised nobody has mentioned Doug Hellman's great resources. His book "The Python Standard Library by Example" is basically a print version of his PyMOTW project (http://www.doughellmann.com/PyMOTW/). While not an end to end "learn Python" the examples, at least in my case, have led me to ask quite a few questions…
……这方面的方向。你想学计算机科学基础?那你可能需要一本数据结构书。你只是想继续深入学习这门语言和标准库?Doug Hellman 的《The Python Standard Library by Example》是很好的参考书。统计学?Web 开发?这得看具体需求了。
…something in that direction. Do you want to learn computer sciences basics? You might want a data structures book. Do you just want to continue to learn the language and standard libraries? Doug Hellman's The Python Standard Library by Example is a good reference. Statistics? Web development? It depends.
如果你更喜欢纸质资料,Doug 写了《The Python Standard Library by Example》。http://www.doughellmann.com/books/byexample/
If you'd prefer the material in print, Doug has written The Python Standard Library by Example. http://www.doughellmann.com/books/byexample/
这个空白被“Python 每周模块”(Python Module of the Week)系列(https://pymotw.com/3/)填补得很好,它侧重于示例代码而不是那种死板的详尽文档。我记得这个博客后来出成了书,名字就叫《The Python Standard Library by Example》。
This gap is very nicely filled by the Python Module of the Week series https://pymotw.com/3/ which focuses on examples rather than exhaustive docs. I believe the blog is coming out as a book called "Python standard library by example".