Synopses & Reviews
Python is one of the most powerful, easy-to-read programming languages around, but it does have its limitations. This general purpose, high-level language that can be extended and embedded is a smart option for many programming problems, but a poor solution to others.
Python For Dummies is the quick-and-easy guide to getting the most out of this robust program. This hands-on book will show you everything you need to know about building programs, debugging code, and simplifying development, as well as defining what actions it can perform. You’ll wrap yourself around all of its advanced features and become an expert Python user in no time. This guide gives you the tools you need to:
- Master basic elements and syntax
- Document, design, and debug programs
- Work with strings like a pro
- Direct a program with control structures
- Integrate integers, complex numbers, and modules
- Build lists, stacks, and queues
- Create an organized dictionary
- Handle functions, data, and namespace
- Construct applications with modules and packages
- Call, create, extend, and override classes
- Access the Internet to enhance your library
- Understand the new features of Python 2.5
Packed with critical idioms and great resources to maximize your productivity, Python For Dummies is the ultimate one-stop information guide. In a matter of minutes you’ll be familiar with Python’s building blocks, strings, dictionaries, and sets; and be on your way to writing the program that you’ve dreamed about!
* Python is an open source, object-oriented language that's now used by an estimated 900,000 developers for scripting applications as well as stand-alone programs
* This accessible introductory guide covers basic programming concepts, explains how Python differs from other object-oriented languages (Perl, Java, and C++), and shows how to install it on all platforms (Linux/Unix, Windows, and Mac OS X)
* Walks readers step by step through the construction of real applications
* Topics covered include working with Python building blocks (functions, modules, packages, control structures, and dictionaries), using Python libraries, accessing the Internet, and creating graphical interfaces
Use Python to build programs, debug code, and simplify development
Wrap yourself up in the structures, libraries, and advanced features of Python
Looking for a powerful yet easy-to-read programming language? Then slither up to Python! This friendly reference introduces you to Python, the portable, interactive language that combines great power with clear syntax. Get familiar with Python's building blocks; work with strings, dictionaries, and sets; and find out everything you need to write a robust program.
Discover how to
- Process lists and tuples
- Direct a program with control structures
- Build applications with modules and packages
- Get a charge from the "batteries included" libraries
- Understand the new features of Python 2.5, including SQLite
* Understand the new features of Python 2.5, including SQLite
About the Author
got her hands on an original 128K Mac in 1984 and has been writing about computers ever since. She has over fifteen years’ experience in instructional design, writing, and editing end-user computer manuals, including tutorials and user’s guides for Apple Newton, HyperCard and HyperTalk, and DVD Studio Pro.
Aahz Maruch is a writer, trainer, and consultant who has been using Python for more than seven years. He has been using computers professionally for 20 years, and his background includes stints of high-end tech support, systems administration, and programming. Aahz is currently working as a programmer for a company with a Web-based application.
Table of Contents
Part I: Getting Started.
Chapter 1: Introducing Python.
Chapter 2: Getting Your Hands on the Keyboard: Using Help, Interactive Mode, and IDLE.
Chapter 3: Basic Elements and Syntax.
Chapter 4: Grand Tour of the Python Language.
Chapter 5: Working Like a Programmer.
Part II: Building Blocks.
Chapter 6: So This String Walks into a Bar.
Chapter 7: Counting Your Way to Fun and Profit.
Chapter 8: Processing Lists and Tuples.
Chapter 9: Diving into Dictionaries.
Part III: Structures.
Chapter 10: Staying in Control.
Chapter 11: Fun with Functions.
Chapter 12: Building Applications with Modules and Packages.
Chapter 13: Getting Classy.
Chapter 14: Introducing New-Style Classes.
Chapter 15: Feeling Exceptional.
Chapter 16: Tackling Some Advanced Features.
Part IV: Libraries.
Chapter 17: Using Python’s Primary Services.
Chapter 18: Processing Text.
Chapter 19: Digging into Disk Data.
Chapter 20: Accessing the Internet.
Part V: The Part of Tens.
Chapter 21: Ten Critical Python Idioms.
Chapter 22: Ten Great Resources.
Part VI: Appendixes.
Appendix A: Getting and Installing Python.
Appendix B: Python Version Differences.