2010.Beginning Python - Using Python 2.6 and Python 3.1.pdf

(4522 KB) Pobierz
518898958 UNPDF
Join the discussion @ p2p.wrox.com
Wrox Programmer to Programmer™
Python ®
Using Python 2.6 and Python 3.1
Beginning
518898958.028.png 518898958.029.png 518898958.030.png 518898958.031.png 518898958.001.png 518898958.002.png 518898958.003.png 518898958.004.png 518898958.005.png 518898958.006.png 518898958.007.png 518898958.008.png 518898958.009.png 518898958.010.png 518898958.011.png 518898958.012.png 518898958.013.png 518898958.014.png 518898958.015.png 518898958.016.png 518898958.017.png
Programmer to Programmer
Get more out of
Interact
Take an active role online by participating in our
P2P forums @ p2p.wrox.com
Join the Community
Sign up for our free monthly newsletter at
newsletter.wrox.com
Wrox Online Library
Hundreds of our books are available online
through Books24x7.com
Browse
Ready for more Wrox? We have books and
e-books available on .NET, SQL Server, Java,
XML, Visual Basic, C#/ C++, and much more!
Wrox Blox
Download short informational pieces and code
to keep you up to date and out of trouble!
Contact Us.
We always like to get feedback from our readers. Have a book idea?
wrox.com
518898958.018.png
Beginning Python®: Using Python 2.6 and Python 3.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxvii
Part I: Dipping Your Toe into Python
Chapter 1: Programming Basics and Strings . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2: Numbers and Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Chapter 3: Variables — Names for Values . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Part II: Python Language and the Standard Library
Chapter 4: Making Decisions ....................................................................... 51
Chapter 5: Functions ................................................................................... 71
Chapter 6: Classes and Objects ................................................................... 93
Chapter 7: Organizing Programs ................................................................. 111
Chapter 8: Files and Directories ................................................................. 127
Chapter 9: Other Features of the Language ................................................ 143
Chapter 10: Building a Module ................................................................... 157
Chapter 11: Text Processing...................................................................... 189
Part III: Putting Python to Work
Chapter 12: Testing ................................................................................... 207
Chapter 13: Writing a GUI with Python ....................................................... 227
Chapter 14: Accessing Databases.............................................................. 239
Chapter 15: Using Python for XML ............................................................. 265
Chapter 16: Network Programming ............................................................ 287
Continues
518898958.019.png 518898958.020.png 518898958.021.png
Chapter 17: Extension Programming with C................................................ 337
Chapter 18: Numerical Programming .......................................................... 367
Chapter 19: An Introduction to Django ....................................................... 387
Chapter 20: Web Applications and Web Services ........................................ 407
Chapter 21: Integrating Java with Python ................................................... 481
Part IV: Appendices
Appendix A: Answers to the Exercises........................................................ 515
Appendix B: Online Resources.................................................................... 549
Appendix C: What’s New in Python 3.1....................................................... 553
Appendix D: Glossary................................................................................. 559
Index ........................................................................................................ 569
518898958.022.png 518898958.023.png 518898958.024.png
Beginning
Python ®
518898958.025.png 518898958.026.png 518898958.027.png
Zgłoś jeśli naruszono regulamin