Portable, powerful, and a breeze to use, Python is ideal for bothstandalone programs and scripting applications. With this hands-onbook, you can master the fundamentals of the core Python languagequickly and efficiently, whether you're new to programming or justnew to Python. Once you finish, you will know enough about thelanguage to use it in any application domain you choose.Learning Python is based on material from author MarkLutz's popular training courses, which he's taught over the pastdecade. Each chapter is a self-contained lesson that helps youthoroughly understand a key component of Python before youcontinue. Along with plenty of annotated examples, illustrations,and chapter summaries, every chapter also contains BrainBuilder, a unique section with practical exercises and reviewquizzes that let you practice new skills and test yourunderstanding as you go.This book covers:
Types and Operations -- Python's major built-in object types indepth: numbers, lists, dictionaries, and more
Statements and Syntax -- the code you type to create andprocess objects in Python, along with Python's general syntaxmodel
Functions -- Python's basic procedural tool for structuring andreusing code
Modules -- packages of statements, functions, and other toolsorganized into larger components
Classes and OOP -- Python's optional object-orientedprogramming tool for structuring code for customization andreuse
Exceptions and Tools -- exception handling model andstatements, plus a look at development tools for writing largerprograms
Learning Python gives you a deep and completeunderstanding of the language that will help you comprehend anyapplication-level examples of Python that you later encounter. Ifyou're ready to discover what Google and YouTube see in Python,this book is the best way to get started.