Portable, powerful, and a breeze to use, Python is ideal for both standalone programs and scripting applications. With this hands-on book, you can master the fundamentals of the core Python language quickly and efficiently, whether you're new to programming or just new to Python. Once you finish, you will know enough about the language to use it in any application domain you choose. "Learning Python" is based on material from author Mark Lutz's popular training courses, which he's taught over the past decade. Each chapter is a self-contained lesson that helps you thoroughly understand a key component of Python before you continue. Along with plenty of annotated examples, illustrations, and chapter summaries, every chapter also contains Brain Builder, a unique section with practical exercises and review quizzes that let you practice new skills and test your understanding as you go.This book covers: Types and Operations, Python's major built-in object types in depth: numbers, lists, dictionaries, and more; Statements and Syntax, the code you type to create and process objects in Python, along with Python's general syntax model; Functions, Python's basic procedural tool for structuring and reusing code; Modules, packages of statements, functions, and other tools organized into larger components; Classes and OOP, Python's optional object-oriented programming tool for structuring code for customization and reuse; and, Exceptions and Tools, exception handling model and statements, plus a look at development tools for writing larger programs. "Learning Python" gives you a deep and complete understanding of the language that will help you comprehend any application-level examples of Python that you later encounter. If you're ready to discover what Google and YouTube see in Python, this book is the best way to get started.
上面几位都说这本书过于啰嗦,不假。但我认为这更体现了作者的认真和细致。深怕读者掉进某个陷阱或对哪个概念模糊不清。所以读这本书一点都不累,唯一的缺陷就是对我们...
用这本书入门Python绝对没有问题,绝对是一本好书。 但是正如楼上几位的评价——有点啰嗦,如果逐字逐句地看完,估计要花挺长时间。我是断断续续看了很久才看完。基本...
作者真的很有耐心啊,不厌其烦的解释来解释去.... 重要概念说的都挺明白,适合入门,以及像我这样对Python一知半解的家伙来理清概念
作者相当“罗嗦”,比如mutable和immutable的区别,比如list comprehensions,都是有机会就要提一下,看似很讨厌,但是作者显然很清楚自己在干什么,事实是,我对这些需...
这本书作为Python的入门是不二之选,特别是对于有面向对象编程经验的读者来说,但作者的啰嗦确实领教了,可能和作者平时诲人不倦地教授Python有关吧(I'm kidding)。 ...