Contents at a Glance

Preface ix

Acknowledgments xiv

Part I: The Python Language 1

Chapter 1: Python in an Hour 3

Chapter 2: Identifiers, Variables, and Numeric Types 19

Chapter 3: Expressions and Strings 29

Chapter 4: Advanced Data Types 49

Chapter 5: Control Flow 73

Chapter 6: Program Organization 87

Chapter 7: Object-Oriented Python 99

Chapter 8: Input and Output 119

Part II: Files, Data Storage, and Operating System Services 131

Chapter 9: Processing Strings and Regular Expressions 133

Chapter 10: Working with Files and Directories 155

Chapter 11: Using Other Operating System Services 179

Chapter 12: Storing Data and Objects 195

Chapter 13: Accessing Date and Time 219

Chapter 14: Using Databases 229

Part III: Networking and the Internet 245

Chapter 15: Networking 247

Chapter 16: Speaking Internet Protocols 275

Chapter 17: Handling Internet Data 303

Chapter 18: Parsing XML and Other Markup Languages 325

Part IV: User Interfaces and Multimedia 345

Chapter 19: Tinkering with Tkinter 347

Chapter 20: Using Advanced Tkinter Widgets 371

Chapter 21: Building User Interfaces with wxPython 391

Chapter 22: Using Curses 415

Chapter 23: Building Simple Command Interpreters 433

Chapter 24: Playing Sound 453

Part V: Advanced Python Programming 465

Chapter 25: Processing Images 467

Chapter 26: Multithreading 481

Chapter 27: Debugging, Profiling, and Optimization 497

Chapter 28: Security and Encryption 515

Chapter 29: Writing Extension Modules 527

Chapter 30: Embedding the Python Interpreter 553

Chapter 31: Number Crunching 581

Chapter 32: Using NumPy 589

Chapter 33: Parsing and Interpreting Python Code 605

Part VI: Deploying Python Applications 617

Chapter 34: Creating Worldwide Applications 619

Chapter 35: Customizing Import Behavior 629

Chapter 36: Distributing Modules and Applications 643

Part VII: Platform-Specific Support 659

Chapter 37: Windows 661

Chapter 38: UNIX-Compatible Modules 671

Appendix A: Online Resources 685

Appendix B: Python Development Environments 689

Index 701

Was this article helpful?

0 0

Post a comment