Instant ebooks textbook Beginning Python Using Python 2 6 and Python 3 1 Wrox Programmer to Programmer James Payne download all chapters
Instant ebooks textbook Beginning Python Using Python 2 6 and Python 3 1 Wrox Programmer to Programmer James Payne download all chapters
com
https://ebookname.com/product/beginning-python-using-
python-2-6-and-python-3-1-wrox-programmer-to-programmer-
james-payne/
OR CLICK BUTTON
DOWNLOAD EBOOK
https://ebookname.com/product/ivor-horton-s-beginning-
visual-c-2010-wrox-programmer-to-programmer-1st-edition-ivor-horton/
ebookname.com
https://ebookname.com/product/programming-in-python-3-a-complete-
introduction-to-the-python-language-2nd-edition-summerfield/
ebookname.com
https://ebookname.com/product/onboarding-how-to-get-your-new-
employees-up-to-speed-in-half-the-time-1st-edition-george-b-bradt/
ebookname.com
McDougal Littell Literature Grade 8 Janet Allen
https://ebookname.com/product/mcdougal-littell-literature-
grade-8-janet-allen/
ebookname.com
https://ebookname.com/product/social-work-practice-with-transgender-
and-gender-variant-youth-2nd-edition-gerald-p-mallon/
ebookname.com
https://ebookname.com/product/music-therapy-improvisation-for-groups-
essential-leadership-competencies-1st-edition-susan-gardstrom/
ebookname.com
https://ebookname.com/product/modern-residential-construction-
practices-1st-edition-david-a-madsen/
ebookname.com
Oilseed crops Yield and Adaptations under Environmental
Stress 1st Edition Parvaiz Ahmad
https://ebookname.com/product/oilseed-crops-yield-and-adaptations-
under-environmental-stress-1st-edition-parvaiz-ahmad/
ebookname.com
Join the discussion @ p2p.wrox.com Wrox Programmer to Programmer™
Beginning
Python
Using Python 2.6 and Python 3.1
®
James Payne
Programmer to Programmer™
Contact Us.
We always like to get feedback from our readers. Have a book idea?
Need community support? Let us know by e-mailing wrox-partnerwithus@wrox.com
Beginning Python®: Using Python 2.6 and Python 3.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxvii
Continues
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
James Payne
I would like to acknowledge the gang at Developer Shed: Jack and Jay Kim, whose constant hatred is an
inspiration, Charles Fagundes, who made me an editor and not just a writer, Keith Lee, who provided
coding support, and a special thanks to Jenny Ruggieri, who got me the job that got me this book. Lastly,
I’d like to thank all of the people that worked on the previous editions of this book for laying the
groundwork, and the Editors Carol Long, Jenny Watson, Ed Connor, and Chris McAvoy who helped me
meet deadlines no matter how much I didn’t want to.
I would also like to acknowledge Guido Von Rossum, without whom there would be no language to
write about.
Contents
Introduction xxvii
xvi
Contents
Summary 67
Exercises 69
Chapter 5: Functions 71
Putting Your Program into Its Own File 71
Functions: Grouping Code under a Name 73
Choosing a Name 75
Describing a Function in the Function 75
The Same Name in Two Different Places 76
Making Notes to Yourself 78
Asking a Function to Use a Value You Provide 79
Checking Your Parameters 81
Setting a Default Value for a Parameter—Just in Case 83
Calling Functions from within Other Functions 84
Functions Inside of Functions 86
Flagging an Error on Your Own Terms 87
Layers of Functions 88
How to Read Deeper Errors 88
Summary 89
Exercises 90
xvii
Contents
Modules and Packages 120
Bringing Everything into the Current Scope 120
Re-importing Modules and Packages 121
Basics of Testing Your Modules and Packages 124
Summary 124
Exercises 125
xviii
Contents
xix
Contents
Implementing a Search Utility in Python 216
A More Powerful Python Search 222
Formal Testing in the Software Life Cycle 224
Summary 225
xx
Contents
xxi
Contents
Parsing with lxml 283
Parsing Files 284
Summary 285
Exercises 285
xxii
Contents
Passing Parameters from Python to C 342
Returning Values from C to Python 345
The LAME Project 346
The LAME Extension Module 350
Using Python Objects from C Code 363
Summary 366
Exercises 366
xxiii
Random documents with unrelated
content Scribd suggests to you:
back
back
back
back
back
back
back
back