did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780132678209

Core Python Applications Programming

by
  • ISBN13:

    9780132678209

  • ISBN10:

    0132678209

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2012-03-09
  • Publisher: Prentice Hall
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $54.99 Save up to $5.50
  • Digital
    $49.49
    Add to Cart

    DURATION
    PRICE

Supplemental Materials

What is included with this book?

Summary

In Core Python Applications Programming, renowned Python expert and Google developer evangelist Wesley Chun gives intermediate-to-experienced developers all the insights they need to become expert Python developers. Writing for those moving from other languages, or upgrading from Python 2.x, Chun demonstrates best practices for making the most of Python 3.x's powerful enhancements. As with all Core Series books, this one teaches via hundreds of industrial-strength code examples, from snippets to complete sample applications - all targeted at professional developers who want to build on their existing skills. Chun presents real-world insights in a relaxed, enjoyable style that makes even complex concepts easy to understand. This edition contains brand-new chapters on programming Microsoft Office and Google App Engine. New, updated, or expanded coverage also includes the latest database and web programming techniques; the effective use of Django and other frameworks, and much more. The first edition (ISBN 9780130260369) and the second edition (ISBN 9780132269933) of this book were single volumes. Python 3 has become so involved that we have split this third edition into two volumes. This volume covers the more advanced topics which will appeal to early adopters. The other volume will be called Core Python Language Fundamentalsand will be available in the summer of 2011.

Author Biography

Wesley J. Chun is the author of the bestselling Core Python titles and the Python Fundamentals LiveLessons companion video. He is coauthor of Python Web Development with Django (withdjango.com), and has written for Linux Journal, CNET, and Inform IT. In addition to being an architect and Developer Advocate at Google, he runs CyberWeb (cyberwebconsulting.com), a consulting business specializing in Python engineering and technical training. He has more than twenty-five years of programming, teaching, and writing experience, including more than a decade of Python. While at Yahoo!, he helped create Yahoo! Mail and Yahoo! People Search using Python. He holds degrees in computer science, mathematics, and music from the University of California.

Table of Contents

Prefacep. xv
Acknowledgmentsp. xxvii
About the Authorp. xxxi
General Application Topicsp. 1
Regular Expressionsp. 2
Introduction/Motivationp. 3
Special Symbols and Charactersp. 6
Regexes and Pythonp. 16
Some Regex Examplesp. 36
A Longer Regex Examplep. 41
Exercisesp. 48
Network Programmingp. 53
Introductionp. 54
What Is Client/Server Architecture?p. 54
Sockets: Communication Endpointsp. 58
Network Programming in Pythonp. 61
The SocketServer Modulep. 79
Introduction to the Twisted Frameworkp. 84
Related Modulesp. 88
Exercisesp. 89
Internet Client Programmingp. 94
What are Internet Clients?p. 95
Transferring Filesp. 96
Network Newsp. 104
E-Mailp. 114
Related Modulesp. 146
Exercisesp. 148
Multithreaded Programmingp. 156
Introduction/Motivationp. 157
Threads and Processesp. 158
Threads and Pythonp. 160
The thread Modulep. 164
The threading Modulep. 169
Comparing Single vs. Multithreaded Executionp. 180
Multithrading in Practicep. 182
Producer-Consumr Problem and the Queue/queue Modulep. 202
Alternative Considerations to Threadsp. 206
Related Modulesp. 209
Exercisesp. 210
GUI Programmingp. 213
Introductionp. 214
Tkinter and Python Programmingp. 216
Tkinter Examplesp. 221
A Brief Tour of Other GUIsp. 236
Related Modules and Other GUIsp. 147
Exercisesp. 250
Database Programmingp. 253
Introductionp. 254
The Python DB-APIp. 259
ORMsp. 289
Non-Relational Databasesp. 309
Related Referencesp. 316
Exercisesp. 319
Programming Microsoft Officep. 324
Introductionp. 325
COM Client Programming with Pythonp. 326
Introductory Examplesp. 328
Intermediate Examplesp. 338
Related Modules/Packagesp. 357
Exercisesp. 357
Extending Pythonp. 364
Introduction/Motivationp. 365
Extending Python by Writing Extensionsp. 368
Related Topicsp. 384
Exercisesp. 388
Web Developmentp. 389
Web Clients and Serversp. 390
Iintroductionp. 391
Python Web Client Toolsp. 396
Web Clientsp. 410
Web (HTTP) Serversp. 428
Related Modulesp. 433
Exercisesp. 436
Web Programming: CGI and WSGIp. 441
Introductionp. 442
Helping Web Servers Process Client Datap. 442
Building CGI Applicationsp. 446
Using Unicode with CGIp. 464
Advanced CGIp. 466
Introduction to WSGIp. 478
Real-World Web Developmentp. 487
Related Modulesp. 488
Exercisesp. 490
Web Frameworks: Djangop. 493
Introductionp. 494
Web Frameworksp. 494
Introduction to Djangop. 496
Projects and Appsp. 501
Your "Hello World" Application (A Blog)p. 507
Creating a Model to Add Database Servicep. 509
The Python Application Shellp. 514
The Django Administration Appp. 518
Creating the Blog's User Interfacep. 527
Improving the Outputp. 537
Working with User Inputp. 542
Forms and Model Formsp. 546
More About Viewsp. 551
Look-and-Feel Improvementsp. 553
Unit Testingp. 554
An Intermediate Django App: The TweetApproverp. 564
Resourcesp. 597
Conclusionp. 597
Exercisesp. 598
Cloud Computing: Google App Enginep. 604
Introductionp. 605
What is Cloud Computing?p. 605
The Sandbox and the App Engine SDKp. 612
Choosing an App Engine Frameworkp. 617
Python 2.7 Supportp. 626
Comparisons to Djangop. 628
Morphing "Hello World" into a Simple Blogp. 631
Adding Memcache Servicep. 647
Static Filesp. 651
Adding Users Servicep. 652
Remote API Shellp. 654
Lightning Round (with Python Code)p. 656
Sending Instant Messages by Using XMPPp. 660
Processing Imagesp. 662
Task Queues (Unscheduled Tasks)p. 663
Profiling with Appstatsp. 670
The URLfetch Servicep. 672
Lightning Round (without Python Code)p. 673
Vendor Lock-Inp. 675
Resourcesp. 676
Conclusionp. 679
Exercisesp. 680
Web Servicesp. 684
Introductionp. 685
The Yahoo! Finance Stock Quote Serverp. 685
Microblogging with Twitterp. 690
Exercisesp. 707
Supplemental/Experimentalp. 713
Text Processingp. 714
Comma-Separated Valuesp. 715
JavaScript Object Notationp. 719
Extensible Markup Languagep. 724
Referencesp. 738
Related Modulesp. 740
Exercisesp. 740
Miscellaneousp. 743
Jythonp. 744
Google+p. 748
Exercisesp. 759
Answers to Selected Exercisesp. 763
Reference Tablesp. 768
Python 3: The Evolution of a Programming Languagep. 798
Why is Python Changing?p. 799
What has Changed?p. 799
Migration Toolsp. 805
Conclusionp. 806
Referencesp. 806
Python 3 Migration with 2.6+p. 807
Python 3: The Next Generationp. 807
Integersp. 809
Built-in Functionsp. 812
Object-Oriented Programming: Two Different Class Objectsp. 814
Stringsp. 815
Exceptionsp. 816
Other Transition Tools and Tipsp. 817
Writing Code that is Compatible in Both Versions 2.x and 3.xp. 818
Conclusionp. 822
Indexp. 823
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program