Programming in Python 3
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Programming in Python 3: A Complete Introduction to the Python Language
Programming in Python 3: A Complete Introduction to the Python Language

Programming in Python 3: A Complete Introduction to the Python Language

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, and expressive than ever before. Now, leading Python programmer Mark Summerfield demonstrates how to write code that takes full advantage of Python 3’s features and idioms. The first book written from a completely “Python 3” viewpoint, Programming in Python 3 brings together all the knowledge you need to write any program, use any standard or third-party Python 3 library, and create new library modules of your own.   Summerfield draws on his many years of Python experience to share deep insights into Python 3 development you won’t find anywhere else. He begins by illuminating Python’s “beautiful heart”: the eight key elements of Python you need to write robust, high-performance programs. Building on these core elements, he introduces new topics designed to strengthen your practical expertise—one concept and hands-on example at a time. This book’s coverage includes   Developing in Python using procedural, object-oriented, and functional programming paradigms Creating custom packages and modules Writing and reading binary, text, and XML files, including optional compression, random access, and text and XML parsing Leveraging advanced data types, collections, control structures, and functions Spreading program workloads across multiple processes and threads Programming SQL databases and key-value DBM files Utilizing Python’s regular expression mini-language and module Building usable, efficient, GUI-based applications Advanced programming techniques, including generators, function and class decorators, context managers, descriptors, abstract base classes, metaclasses, and more   Programming in Python 3serves as both tutorial and language reference, and it is accompanied by extensive downloadable example code—all of it tested with the final version of Python 3 on Windows, Linux, and Mac OS X.

Table of Contents:
Introduction 1   Chapter 1: Rapid Introduction to Procedural Programming 7 Creating and Running Python Programs 7 Python’s “Beautiful Heart” 12 Examples 36 Summary 42 Exercises 44   Chapter 2:Data Types 47 Identifiers and Keywords 47 Integral Types 50 Floating-Point Types 54 Strings 61 Examples 88 Summary 95 Exercises 97   Chapter 3: Collection Data Types 99 Sequence Types 99 Set Types 112 Mapping Types 117 Iterating and Copying Collections 127 Examples 138 Summary 146 Exercises 147   Chapter 4: Control Structures and Functions 149 Control Structures 149 Exception Handling 153 Custom Functions 161 Example: make_html_skeleton.py 175 Summary 181 Exercise 182   Chapter 5: Modules 185 Modules and Packages 185 Overview of Python’s Standard Library 202 Summary 219 Exercise 220   Chapter 6: Object-Oriented Programming 223 The Object-Oriented Approach 224 Custom Classes 228 Custom Collection Classes 251 Summary 272 Exercises 274   Chapter 7: File Handling 277 Writing and Reading Binary Data 282 Writing and Parsing Text Files 294 Writing and Parsing XML Files 302 Random Access Binary Files 313 Summary 326 Exercises 327   Chapter 8: Advanced Programming Techniques 329 Further Procedural Programming 330 Further Object-Oriented Programming 353 Functional-Style Programming 384 Example: Valid.py 388 Summary 390 Exercises 392   Chapter 9: Processes and Threading 395 Delegating Work to Processes 396 Delegating Work to Threads 400 Summary 409 Exercises 410   Chapter 10: Networking 413 Creating a TCP Client 414 Creating a TCP Server 420 Summary 427 Exercises 427   Chapter 11: Database Programming 431 DBM Databases 432 SQL Databases 436 Summary 443 Exercise 444   Chapter 12: Regular Expressions 445 Python’s Regular Expression Language 446 The Regular Expression Module 455 Summary 464 Exercises 465   Chapter 13: Introduction to GUI Programming 467 Dialog-Style Programs 470 Main-Window-Style Programs 476 Summary 491 Exercises 491   Epilogue 493 Index 495


Best Sellers


Product Details
  • ISBN-13: 9780321606594
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Language: English
  • ISBN-10: 0321606590
  • Publisher Date: 16 Dec 2008
  • Binding: Digital download
  • Sub Title: A Complete Introduction to the Python Language


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Programming in Python 3: A Complete Introduction to the Python Language
Pearson Education (US) -
Programming in Python 3: A Complete Introduction to the Python Language
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 in Python 3: A Complete Introduction to the Python Language

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!