Skip to Content
Python编程入门与实战
book

Python编程入门与实战

by Posts & Telecom Press, Fabrizio Romano
February 2024
Intermediate to advanced
434 pages
6h 1m
Chinese
Packt Publishing
Content preview from Python编程入门与实战

前  言

当我刚开始编写这本书时,我对读者的期望知之甚少。后来,我逐渐学会了如何把每个话题转换为一个故事。我希望通过一些简单、实用、容易理解的例子来讨论Python,同时又把自己的经验倾注到文字当中去,把我这些年对Python的感悟传递给读者。这些有价值的感悟值得读者思考、回顾和消化。读者可能会不同意我的某些方法,而是采用了其他方法,我衷心希望他们所找到的是一种更好的方法。

本书并不仅讨论语言本身,还涵盖了编程的技能。事实上,编程的艺术是由许多方面所组成的,语言仅仅是其中的一个方面。

编程的另一个关键是要具有独立性,也就是当我们遇到阻碍不知道如何解决时能够放飞自己的能力。没有任何书籍可以传授这个能力,因此我认为在这个方面,不应该采用“教”的方式,而是应该让读者自己去领悟。我在全书中设置了一些说明、问题和评论,希望能够启发读者。同时,我还希望读者能够花点时间浏览网站或其他官方文档,更深入地挖掘和学习,感受自己解决问题所带来的乐趣。

最后,我想编写一本甚至在形式上也与众不同的书。因此我和编辑商量后决定以理论的方式编写本书的第一部分,介绍一些描述Python各方面特性的话题。本书的第二部分则由各种现实生活中的项目所组成,向读者展示这种语言能够实现多么出色的成就。

有了这些目标之后,接着我迎接了最困难的挑战:对我想要编写的所有内容进行规划,把它们压缩到本书允许的篇幅中。这个挑战很困难,我不得不做出一些取舍。

我的努力得到了读者的良好反馈。时至今日,距离这本书第一版问世差不多已有3年,我仍然会不断地收到来自读者的愉快信息。他们向我表示感谢,告诉我这本书为他们提供了巨大的帮助。对我来说,这是最好的赞美。我知道Python语言可能会发生变化甚至会过时,但我仍然设法把我的知识与读者共享,希望这些知识可以让读者长久受益。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

数据科学实战手册

数据科学实战手册

Posts & Telecom Press, Tony Ojeda, Sean Patrick Murphy, Bengfort Benjamin
Spark机器学习实战

Spark机器学习实战

Posts & Telecom Press, Siamak Amirghodsi, Meenakshi Rajendran, Broderick Hall, Shuen Mei
Excel金融建模

Excel金融建模

Posts & Telecom Press, Shmuel Oluwa
TensorFlow深度学习项目实战

TensorFlow深度学习项目实战

Posts & Telecom Press, Luca Massaron, Alberto Boschetti, Alexey Grigorev, Abhishek Thakur

Publisher Resources

ISBN: 9781835888285