python2在2020年
Python is an experiment in how much freedom programmers need. Too much freedom and nobody can read another’s code; too little and expressiveness is endangered.
Python是程序员需要多少自由度的实验。 太多的自由,没人能读懂别人的密码。 太少,表现力受到威胁。
- Guido van Rossum
-Guido van Rossum
Python is one of the top programming languages for a diverse range of tasks and domains. Python’s user-friendliness, high-level nature, and the emphasis on simplicity and enhanced code readability make it a favorable choice for many developers around the world. If that doesn’t sell Python to you, I’m sure that its exhaustive ecosystem of more than 255 thousand third-party packages will.
Python是用于各种任务和领域的顶级编程语言之一。 Python的用户友好性,高级特性以及对简单性和增强代码可读性的强调使其成为全球许多开发人员的理想选择。 如果那不能把Python卖给您,我相信它拥有超过25.5万个第三方软件包的详尽的生态系统将会。
Features like these have skyrocketed the demand for Python everywhere, be it application development, Data Science, Artificial Intelligence, or any other industry. The goal behind this write-up is to round up some of the best Python books around, to help you gain the knowledge and confidence with this amazing programming language.
诸如此类的功能使应用程序开发, 数据科学 , 人工智能或任何其他行业的Python需求激增。 编写本文的目的是将一些最出色的Python书籍汇总起来,以帮助您使用这种令人惊叹的编程语言来获得知识和信心。
According to Stackoverflow, Python is the most preferred language which means that the majority of developers use python.
根据Stackoverflow的介绍,Python是最受欢迎的语言,这意味着大多数开发人员都使用python。
Python书籍 (Python Books)
Books are quite possibly one of the top sources of information about almost any topic, and in this section, we have gathered more than ten top books to help you familiarize and gain some practical knowledge with Python. Some of these books cover comprehensive knowledge about the programming language while some are excellent in giving you hands-on experience with it.
书籍很可能是几乎任何主题的顶级信息资源之一 ,在本节中,我们收集了十多本顶级书籍,以帮助您熟悉Python并获得一些实践知识 。 这些书中的一些涵盖了有关编程语言的全面知识,而另一些则在为您提供实际 的编程 经验方面非常出色。
Regardless of your previous experience with Python or any programming language for that matter, we’re sure you will find some great handy tips from these books for your next project.
无论您以前在Python或任何编程语言方面的经验如何,我们都可以确保您从这些书中找到一些方便的技巧,以供下一个项目使用。
Disclaimer: Those affiliate links are for information purposes only.
免责声明: 这些会员链接仅用于提供信息。
1. Python速成课程 (1. Python Crash Course)
Author: Eric Matthes
作者:埃里克·马蒂斯(Eric Matthes)
Publisher — No Starch Press
出版商 —无淀粉出版社
Difficulty Level: Beginners
难度等级:初学者
Get Both Books here — Amazon, Amazon
在此处获取两本书 — 亚马逊 , 亚马逊
Cover of the book “Python Crash Course” “ Python速成课程”这本书的封面As the name suggests, the author has written this book to act as a quick crash course for readers with little to no programming exposure. The author has made all the introductory concepts as easy as ABC for beginners so that they can start implementing their knowledge on fun projects. The introductory nature of this book also makes it a fitting choice for academics.
顾名思义,作者编写这本书是为了让几乎没有编程经验的读者快速学习速成课程 。 对于初学者来说 ,作者已经使所有入门概念都变得像ABC一样容易,因此他们可以开始在有趣的项目中实施他们的知识。 本书的介绍性也使其成为学者的合适选择。
This two-part book covers the introduction to programming in its first part, whereas in the second part, it takes on a project-driven approach where the readers are encouraged to complete any or all three programming projects. The projects include coding a 2D game, creating a data visualization program, and the last, an online Learning Log for note-taking.
这本书分为两部分,第一部分介绍了编程 ,而第二部分则采用了项目驱动的方法 ,鼓励读者完成任何或全部三个编程项目。 这些项目包括编写2D游戏代码,创建数据可视化程序以及最后一个在线学习日志以做笔记。
演示地址
2. 学习Python (2. Learning Python)
Author: Mark Lutz
作者: Mark Lutz
Publisher — O’Reilly Media
发行人 — O'Reilly Media
Difficulty Level: Beginners
难度等级:初学者
Get Book here — Amazon
在这里获取书 — 亚马逊
Cover of the book “Learning Python” “学习Python”一书的封面In the Python way of thinking, explicit is better than implicit, and simple is better than complex.― Mark Lutz
用Python的思维方式,显式胜于隐式,简单胜于复杂。-Mark Lutz
Learning Python covers all the fundamentals of the programming language and aims to be a one-stop solution for beginners alike who are in search of an in-depth introduction to Python. Also being a two-part book like the previous one, the author Mark Lutz has tried to create a solid foundation with Python in this part, while the other part focusses more on real-life examples and situations for better practical programming exposure.
学习Python涵盖了编程语言的所有基础知识,旨在成为寻求深入介绍Python的初学者的一站式解决方案。 与前一本书一样, 本书也分为两部分 ,作者Mark Lutz试图在这一部分中为Python建立坚实的基础,而另一部分则更多地关注真实的示例和情况,以更好地实践编程 。
The latest edition of the book covers Python v3.3 and all its latest improvements along with the older v2.7. On a side note, if you have zero proficiency with programming, it would be a good idea to supplement this book with additional introductory references.
本书的最新版本涵盖Python v3.3及其所有最新改进以及较旧的v2.7 。 附带说明一下,如果您对编程的了解为零,那么最好在本书中添加其他入门参考作为补充。
3. Python技巧:一系列很棒的Python功能 (3. Python Tricks: A Buffet of Awesome Python Features)
Author: Dan Bader
作者: Dan Bader
Publisher — Dan Bader (dbader.org)
发行人 — Dan Bader(dbader.org)
Difficulty Level: Beginners
难度等级:初学者
Get Book here — Amazon
在这里获取书 — 亚马逊
“There should be one — and preferably only one — obvious way to do it.”― Dan Bader
“应该有一种-最好只有一种-显而易见的方法。”-Dan Bader
As the title suggests, Python Tricks brings together a collection of convenient features, tips, and tricks to make you efficient with Python.
顾名思义,Python Tricks汇集了一系列便利的功能,技巧和窍门 ,使您使用Python高效。
In the words of the author — “What started out as a fun twitter experiment, turned into a series of noteworthy and useful tricks accompanied by a clear code example, that helped hundreds of Python developers understand the idea behind the various aspects of Python.”
用作者的话说: “最初是一个有趣的Twitter实验,后来变成了一系列值得注意和有用的技巧,并附带了清晰的代码示例,可以帮助数百名Python开发人员理解Python各个方面的思想。”
The book covers a large collection of tricks from a variety of topics in Python, and they’re presented in a well-explained style, but to make full use of this book, you’d still need a strong foundation in Python.
本书涵盖了来自Python各个主题的大量技巧,并且以一种易于解释的风格进行介绍,但是要充分利用本书,您仍然需要Python的坚实基础。
4.艰苦学习Python (4. Learn Python the Hard Way)
Author: Zed Shaw
作者: Zed Shaw
Publisher — Addison-Wesley
发行人 — Addison-Wesley
Difficulty Level: Beginners
难度等级:初学者
Get Book here — Amazon
在这里获取书 — 亚马逊
Cover of the book “Learn Python the Hard Way” “艰苦学习Python”一书的封面“Just take it slow and do not hurt your brain.”
“只要慢慢来,不要伤到大脑。”
If you’re intimidated by the “Hard” in the title, don’t be. That’s just the author’s way of using instructions to make you thoroughly go through the chapters and practice what you’ve learned.
如果您对标题中的“硬”感到害怕,那就不要。 这只是作者使用说明的方式,可以使您彻底了解各章并实践所学内容。
Putting the title aside, the author has done an amazing job presenting the fundamental concepts of Python at a more beginner-friendly pace to prepare you for complex topics. The book also includes plenty of instructional videos and exercises to enhance your knowledge of Python. In case you’re wondering, yes, the book has been updated with a newer edition that supports Python 3.
抛开标题 ,作者做了非常了不起的工作,以对初学者更友好的方式介绍了Python的基本概念,为您准备复杂的主题做好了准备。 该书还包括许多教学视频和练习,以增强您对Python的了解。 如果您想知道,是的,这本书已更新为支持Python 3的较新版本。
演示地址
5.使用Python自动执行无聊的工作 (5. Automating Boring Stuff with Python)
Author: Al Sweigart
作者: Al Sweigart
Publisher — No Starch Press
出版商 —无淀粉出版社
Difficulty Level: Beginners
难度等级:初学者
Get Book here — Amazon
在这里获取书 — 亚马逊
Cover of the book “Automating Boring Stuff with Python” 《用Python自动完成无聊的东西》一书的封面According to the author-
根据作者
Don’t spend your time doing work a well-trained monkey could do. Even if you’ve never written a line of code, you can make your computer do the grunt work. Learn how in Automate the Boring Stuff with Python.
不要把时间花在训练有素的猴子可以做的工作上。 即使您从未编写过一行代码,也可以使计算机完成繁重的工作。 了解如何使用Python自动完成无聊的事情。
The title says it all. Every now and then, you must’ve come across a boring or a repetitive task that makes you say, “not this again.” It is these moments that this book intends to eliminate. The author has covered the necessary basics of the programming language in this book to help you create some nifty snippets of Python that can automate a simple but boring task to be done in seconds instead of hours.
标题说明了一切。 时不时地,您必须遇到一个无聊或重复的任务,使您说:“再也不要这样。” 本书打算消除的正是这些时刻。 作者已经在本书中介绍了编程语言的必要基础,以帮助您创建一些漂亮的Python代码片段,这些片段可以自动完成一个简单但无聊的任务,只需几秒钟即可完成,而无需花费数小时。
While the book does wonders for anyone wanting to get the boring tasks out of the way quickly, sans the programming background, it does not comprehensively cover each aspect of Python’s. Good enough for creating handy throwaway code but not enough for a thorough introduction.
尽管没有编程背景,但本书的确为希望快速解决无聊任务的任何人带来了奇迹,但并没有全面介绍Python的各个方面。 足以创建方便的一次性代码,但不足以进行全面介绍。
演示地址
6. 用于数据分析的Python (6. Python for Data Analysis)
Author: Wes McKinney
作者:韦斯·麦金尼
Publisher — O′Reilly
发行人 — O'Reilly
Difficulty Level: Intermediate
难度等级:中级
Get Book here — Amazon
在这里获取书 — 亚马逊
Cover of the book “Python for Data Analysis” 《用于数据分析的Python》一书的封面Python can be used for a variety of tasks, and one of them is data analysis. If you constantly find yourself occupied with analyzing and manipulating structured data or are simply keen on learning about how efficient Python can be for data analysis tasks, you might find this book useful.
Python可用于多种任务,其中之一是数据分析。 如果您经常发现自己忙于分析和处理结构化数据,或者只是热衷于学习Python在数据分析任务中的效率如何,那么您可能会发现这本书很有用。
The author has explained the fundamentals of working with data in a very comprehensive manner while also touching upon the topic of scientific computing. Python for Data Analysis also covers some of the most popular libraries for data analysis, such as NumPy, pandas, matplotlib, IPython, and SciPy.
作者在非常全面的方式下解释了处理数据的基础,同时涉及科学计算的话题。 用于数据分析的Python还涵盖了一些最受欢迎的数据分析库,例如NumPy , pandas , matplotlib , IPython 和 SciPy 。
“Act without doing; work without effort. Think of the small as large and the few as many. Confront the difficult while it is still easy; accomplish the great task by a series of small acts. — Laozi”― Wes McKinney
“不采取行动; 毫不费力地工作。 想想大小一样,少则多。 面对困难,却仍然容易; 通过一系列小动作来完成伟大的任务。 -老子”-韦斯·麦金尼
演示地址
7. Python机器学习简介 (7. Introduction to Machine Learning with Python)
Author: Andreas C. Müller and Sarah Guido
作者: Andreas C.Müller和Sarah Guido
Publisher — O′Reilly
发行人 — O'Reilly
Difficulty Level: Intermediate
难度等级:中级
Get Book here — Amazon
在这里获取书 — 亚马逊
Cover of the book “Introduction to Machine Learning with Python” 《 Python机器学习入门》一书的封面The rate at which Machine Learning is advancing is fascinating. To be able to make the most out of this technology, Python is among the top choices for a glue language. Targeted towards aspiring Machine Learning professionals in search of solutions to real-world machine learning problems, this introductory book requires zero prior experience with Machine Learning.
机器学习的发展速度令人着迷。 为了充分利用该技术,Python是胶水语言的首选。 该入门书面向有抱负的机器学习专业人员,以寻求解决现实世界中机器学习问题的方法 ,该书对机器学习的要求为零。
Instead of diving into the mathematics behind the algorithms and models being used throughout, the book takes a gentler approach and explains the background and their importance. Though it does require some knowledge of using Python to implement the vast collection of algorithms and models covered by the libraries followed in the book, such as scikit-learn, NumPy, and matplotlib.
本书没有采用贯穿始终使用的算法和模型的数学方法,而是采用了较为温和的方法,并解释了背景及其重要性 。 尽管确实需要一些知识,才能使用Python来实现本书所涵盖的库所涵盖的大量算法和模型,例如 scikit-learn ,NumPy和matplotlib。
演示地址
8. Python数据科学手册 (8. Python Data Science Handbook)
Author: Jake VanderPlas
作者:杰克·范德普拉斯
Publisher — O’Reilly Media
发行人 — O'Reilly Media
Difficulty Level: Intermediate
难度等级:中级
Get Book here — Amazon
在这里获取书 — 亚马逊
Git Hub — https://github.com/jakevdp/PythonDataScienceHandbook
Git Hub- https://github.com/jakevdp/PythonDataScienceHandbook
Cover of the book “Python Data Science Handbook” 《 Python数据科学手册》的封面Data Science is becoming more of an imperative skill in various domains lately as the benefits it offers is invaluable. The author of this handbook has put more emphasis on learning Data Science as a skill than a new domain of knowledge, as it can prove to be advantageous while applying the skill to a problem in hand.
数据科学近来在各个领域变得越来越重要,因为它提供的好处是无价的。 本手册的作者更加强调将数据科学作为一种技能来学习,而不是将其作为新知识领域,因为将它应用到手头的问题上可以证明是有利的。
The contents of the book have been structured into five different libraries provided by Python for extensive coverage, i.e, IPython, NumPy, Pandas, Matplotlib, Scikit-Learn. The handbook does require a certain degree of proficiency in Python to follow the book as intended by the author, and would not make for a suitable choice for beginners.
本书的内容已被结构化为Python提供的五个不同的库,以进行广泛介绍,即IPython,NumPy,Pandas,Matplotlib,Scikit-Learn 。 该手册确实需要一定程度的Python语言才能按照作者的意图进行操作,因此不会为初学者提供合适的选择。
演示地址
9. 优先使用Python:友善的指南 (9. Head First Python: A Brain-Friendly Guide)
Author: Paul Barry
作者:保罗·巴里
Publisher — O’Reilly Media
发行人 — O'Reilly Media
Difficulty Level: Intermediate
难度等级:中级
Get Book here — Amazon
在这里获取书 — 亚马逊
Cover of the book “Head First Python: A Brain-Friendly Guide” “ Head First Python:大脑友好指南”一书的封面“code is read more than it’s written. This” ― Paul Barry
“代码读起来比编写的要多。 这个” ― Paul Barry
Although this book doesn’t cover the programming language and its entirety in detail, it still manages to teach you Python in a more practical and fun way. What separates this book from others is the fun and casual style the author has used to build a connection with the readers, and more importantly, the comical use of pictures to keep the learning process intuitive.
尽管本书没有详细介绍编程语言及其全部内容,但仍设法以一种更实用,更有趣的方式教您Python。 本书与众不同之处是作者用来与读者建立联系的有趣和随意的风格 ,更重要的是, 图片的滑稽使用 使学习过程更加直观。
For those of you who have just started learning Python, or any other programming language for that matter, you might have a rough time getting your head around the topics covered. If you do know the basics of programming, hop on.
对于刚开始学习Python或任何其他编程语言的人,您可能很难理解所涉及的主题。 如果您确实了解编程的基础知识,请继续。
10.流利的Python (10. Fluent Python)
Author: Luciano Ramalho
作者: Luciano Ramalho
Publisher — O’Reilly Media
发行人 — O'Reilly Media
Difficulty Level: Experts
难度等级:专家
Get Book here — Amazon
在这里获取书 — 亚马逊
Cover of the book “Fluent Python” 《流利的Python》一书的封面Python can be a very versatile and powerful programming language when used efficiently, and this very motive is the sole driving factor for the book Fluent Python. It is clear that learning Python and achieving fluency in Python are both very different things. Most developers will often achieve what they want with Python anyways but at the cost of its full potential.
如果有效地使用Python,它可以是一种非常通用且功能强大的编程语言 ,而这一动机是Fluent Python这本书的唯一推动因素。 显然,学习Python和在Python中达到流利性都是截然不同的事情。 无论如何,大多数开发人员通常都会通过Python实现他们想要的东西,但要付出其全部潜力的代价。
The author has emphasized on highlighting some of the less utilized features and techniques to make it possible to get the most out of Python. If you have recently started learning Python, this might not be the right book for you, as you might find it hard to follow.
作者着重强调了一些利用较少的功能和技术,以便可以充分利用Python。 如果您最近刚开始学习Python,那么这可能不适合您,因为您可能会很难理解。
11.有效的Python (11. Effective Python)
Author: Brett Slatkin
作者: Brett Slatkin
Publisher — Addison-Wesley
发行人 — Addison-Wesley
Difficulty Level: Experts
难度等级:专家
Get Book here — Amazon
在这里获取书 — 亚马逊
Cover of the book “ Effective Python” 《有效的Python》一书的封面Python is a programming language that puts a high emphasis on creating clear and extremely readable code, but there can still be some situations where that isn’t achieved. This is where the book Effective Python comes into the picture. The author has covered some common mistakes and provided invaluable insights and practices on how to avoid them in the first place, to write cleaner, reusable, and more effective Python code. If you’re constantly struggling to find ways to optimize your code, this could be the right book for you.
Python是一种编程语言,高度重视创建清晰且可读性强的代码 ,但在某些情况下仍无法实现。 这是《有效的Python》一书的插图。 作者介绍了一些常见的错误, 并就如何避免这些错误, 编写更简洁,可重用和更有效的Python代码提供了宝贵的见解和实践 。 如果您一直在努力寻找优化代码的方法 ,那么这本适合您。
演示地址
12. Python食谱 (12. Python Cookbook)
Author: David Beazley & Brian K. Jones
作者: David Beazley和Brian K. Jones
Publisher — O’Reilly Media
发行人 — O'Reilly Media
Difficulty Level: Experts
难度等级:专家
Get Book here — Amazon
在这里获取书 — 亚马逊
Cover of the book “Python Cookbook” “ Python Cookbook”一书的封面Python has an excellent community, and this book takes its inspiration from the many unique challenges faced by the community, which are referred to as recipes in the Python Cookbook. The recipes come with relevant examples and detailed background studies on the problems from some of the most insightful members of the community.
Python拥有一个优秀的社区 ,本书从社区面临的许多独特挑战中汲取了灵感,这些挑战在Python Cookbook中被称为菜谱。 食谱中包含相关示例,以及一些社区中最有见识的成员对问题的详细背景研究 。
To make it absolutely clear, the author has targeted this book towards experienced Python developers looking to strengthen their understanding of the various modern techniques in Python. Beginners are suggested to pick up something that covers the introductory parts of Python before starting with the Python Cookbook.
为了明确起见,作者将本书面向有经验的Python开发人员,他们希望加强他们对Python各种现代技术的了解。 建议初学者从Python Cookbook开始之前,先学习一些涵盖Python入门部分的内容。
更多Python书籍可供阅读— (More Python Books to Read —)
- Python Pocket Reference Python Pocket参考
- Python Machine Learning Python机器学习
- Deep Learning with Python 使用Python进行深度学习
- Python Programming: An Introduction to Computer Science Python编程:计算机科学概论
- Natural Language Processing with Python 使用Python进行自然语言处理
- Python in a Nutshell 简而言之,Python
- Think Python: How to Think Like a Computer Scientist Think Python:如何像计算机科学家一样思考
- Django for Beginners: Build websites with Python and Django 面向初学者的Django:使用Python和Django构建网站
结论 (Conclusion)
Python is an elegant and powerful programming language that can do wonders if utilized correctly. The books covered in this write-up should provide you sufficient knowledge to get you started with Python along with some additional tips and tricks to write a clear and optimized code that works beautifully. To tie things up here, if you are keen on learning Python from scratch or would simply like a brush-up, we highly recommend you go through these books.
Python是一种优雅而强大的编程语言,如果使用得当,它会产生奇迹。 本文中所涉及的书籍应为您提供足够的知识,以帮助您开始使用Python,并提供一些额外的技巧和窍门,以编写清晰,优化的代码,并能完美地发挥作用。 在这里,如果您热衷于从头学习Python或只是想重新学习Python,我们强烈建议您阅读这些书。
Note: To eliminate problems of different kinds, I want to alert you to the fact this article represent just my personal opinion I want to share, and you possess every right to disagree with it.
注意: 为消除各种问题,我想提醒您以下事实,即本文仅代表我要分享的个人观点,您拥有反对该观点的一切权利。
更有趣的读物— (More Interesting Readings —)
I hope you’ve found this article useful! Below are some interesting readings hope you like them too-
希望本文对您有所帮助! 以下是一些有趣的读物,希望您也喜欢它们-
About Author
关于作者
Claire D. is a Content Crafter and Marketer at Digitalogy — a tech sourcing and custom matchmaking marketplace that connects people with pre-screened & top-notch developers and designers based on their specific needs across the globe. Connect with Digitalogy on Linkedin, Twitter, Instagram.
克莱尔·D 。 是 Digitalogy 的Content Crafter and Marketinger ,这 是一个技术采购和自定义对接市场,根据全球各地的特定需求,将人们与预先筛选和一流的开发人员和设计师联系起来。 在 Linkedin , Twitter , Instagram 上 与 Digitalogy联系 。
翻译自: https://towardsdatascience.com/python-books-you-must-read-in-2020-a0fc33798bb
python2在2020年