Programming Python
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Programming Python
Programming Python

Programming Python

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

This text focuses on advanced uses of the Python programming/scripting language, which has evolved from an emerging language of interest primarily to pioneers, to a widely accepted tool that traditional programmers use for real day-to-day development tasks. With Python, you can do almost anything you can do with C++; but Python is an interpreted language designed for rapid application development and deployment. Among other things, Python supports object-oriented programming; a remarkably simple, readable, and maintainable syntax; integration with C components; and a vast collection of pre-coded interfaces and utilities. As Python has grown to embrace developers on a number of different platforms (Unix, Linux, Windows, Mac), companies have taken notice and are adopting Python for their products. It has shown up animating the latest "Star Wars" movie, serving up maps and directories on the internet, guiding users through Linux installations, testing chips and boards, managing Internet discussion forums, scripting online games, and even scripting wireless products. This text provides a comprehensive resource for advanced Python programmers. Reviewed and endorsed by Python creator Guido van Rossum, who also provides the foreword, this book zeroes in on real-world Python applications. Updated for Python 2.0, it covers Internet scripting, systems programming, Tkinter GUIs, C integration domains, and new Python tools and applications. Among them: IDLE; JYthon; Active Scripting and COM extensions; Zope; PSP server pages; restricted execution mode; the HTMLgen and SWIG code generators; thread support; CGI; and Internet protocol modules. The text includes a platform-neutral CD-ROM with book examples and various Python-related packages, including the full Python 2.0 source code distribution.

Table of Contents:
Foreword Preface for the Second Edition 1. Introducing Python The Life of Python The Compulsory Features List What's Python Good For? What's Python Not Good For? I. System Interfaces 2. System Tools Why Python Here? System Scripting Overview The sys Module The os Module Script Execution Context Current Working Directory Command-Line Arguments Shell Environment Variables Standard Streams File Tools Directory Tools 3. Parallel System Tools Forking Processes Threads Program Exits Interprocess Communication Pipes Signals Launching Programs on Windows Other System Tools 4. Larger System Examples I Splitting and Joining Files Generating Forward-Link Web Pages A Regression Test Script Packing and Unpacking Files User-Friendly Program Launchers 5. Larger System Examples II Fixing DOS Line Ends Fixing DOS Filenames Searching Directory Trees Visitor: Walking Trees Generically Copying Directory Trees Deleting Directory Trees Comparing Directory Trees II. GUI Programming 6. Graphical User Interfaces Python GUI Development Options Tkinter Overview Climbing the GUI Learning Curve The End of the Tutorial Python/Tkinter for Tcl/Tk Converts 7. A Tkinter Tour, Part 1 Configuring Widget Appearance Toplevel Windows Dialogs Binding Events Message and Entry Checkbutton, Radiobutton, and Scale Running GUI Code Three Ways Images 8. A Tkinter Tour, Part 2 Menus Listboxes and Scrollbars Text Canvas Grids Time Tools, Threads, and Animation The End of the Tour The PyDemos and PyGadgets Launchers 9. Larger GUI Examples Advanced GUI Coding Techniques Complete Program Examples PyEdit: A Text Editor Program/Object PyView: An Image and Notes Slideshow PyDraw: Painting and Moving Graphics PyClock: An Analog/Digital Clock Widget PyToe: A Tic-Tac-Toe Game Widget Where to Go from Here III. Internet Scripting 10. Network Scripting Plumbing the Internet Socket Programming Handling Multiple Clients A Simple Python File Server 11. Client-Side Scripting Transferring Files over the Net Processing Internet Email The PyMailGui Email Client Other Client-Side Tools 12. Server-Side Scripting What's a Server-Side CGI Script? Climbing the CGI Learning Curve The Hello World Selector Coding for Maintainability More on HTML and URL Escapes Sending Files to Clients and Servers 13. Larger Web Site Examples I The PyMailCgi Web Site The Root Page Sending Mail by SMTP Reading POP Email Utility Modules CGI Script Trade-offs 14. Larger Web Site Examples II The PyErrata Web Site The Root Page Browsing PyErrata Reports Submitting PyErrata Reports PyErrata Database Interfaces Administrative Tools Designing for Reuse and Growth 15. Advanced Internet Topics Zope: A Web Publishing Framework HTMLgen: Web Pages from Objects JPython ( Jython): Python for Java Grail: A Python-Based Web Browser Python Restricted Execution Mode XML Processing Tools Windows Web Scripting Extensions Python Server Pages Rolling Your Own Servers in Python IV. Assorted Topics 16. Databases and Persistence Persistence Options in Python DBM Files Pickled Objects Shelve Files SQL Database Interfaces PyForm: A Persistent Object Viewer 17. Data Structures Implementing Stacks Implementing Sets Binary Search Trees Graph Searching Reversing Sequences Permuting Sequences Sorting Sequences Data Structures Versus Python Built-ins PyTree: A Generic Tree Object Viewer 18. Text and Language Strategies for Parsing Text in Python String Module Utilities Regular Expression Matching Parser Generators Hand-Coded Parsers PyCalc: A Calculator Program/Object V. Integration 19. Extending Python C Extensions Overview A Simple C Extension Module The SWIG Integration Code Generator Wrapping C Environment Calls A C Extension Module String Stack A C Extension Type String Stack Wrapping C++ Classes with SWIG 20. Embedding Python C Embedding API Overview Basic Embedding Techniques Registering Callback Handler Objects Using Python Classes in C ppembed: A High-Level Embedding API Other Integration Topics VI. The End 21. Conclusion: Python and the Development Cycle Something's Wrong with the Way We Program Computers The Gilligan Factor Doing the Right Thing Enter Python But What About That Bottleneck? On Sinking the Titanic So What's Python: The Sequel In the Final Analysis... Postscript to the Second Edition A. Recent Python Changes B. Pragmatics C. Python Versus C++ Index


Best Sellers


Product Details
  • ISBN-13: 9780596000851
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Edition: Revised edition
  • Language: English
  • Weight: 1600 gr
  • ISBN-10: 0596000855
  • Publisher Date: 10 Apr 2001
  • Binding: Book
  • Height: 234 mm
  • Returnable: N
  • Width: 178 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Programming Python
O'Reilly Media -
Programming Python
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Programming Python

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!