Learning Python
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > Learning Python
Learning Python

Learning Python

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Portable, powerful, and a breeze to use, Python is the popular open source object-oriented programming language used for both standalone programs and scripting applications. Python is considered easy to learn, but there's no quicker way to mastery of the language than learning from an expert teacher. The new edition of Learning Python puts you in the hands of two expert teachers, Mark Lutz and David Ascher, whose friendly, well-structured prose has guided many a programmer to proficiency with the language. Learning Python, Second Edition offers programmers a comprehensive learning tool for Python and object-oriented programming. Thoroughly updated for the numerous language and class presentation changes that have taken place since the release of the first edition in 1999, this guide introduces the basic elements of the latest release of Python 2.3 and covers new features, such as list comprehensions, nested scopes, and iterators/generators. Beyond language features, this edition of Learning Python also includes new context for less-experienced programmers, including fresh overviews of object-oriented programming and dynamic typing, new discussions of program launch and configuration options, new coverage of documentation sources, and more. There are also new use cases throughout to make the application of language features more concrete. The first part of Learning Python gives programmers all the information they'll need to understand and construct programs in the Python language, including types, operators, statements, classes, functions, modules and exceptions. The authors then present more advanced material, showing how Python performs common tasks by offering real applications and the libraries available for those applications. Each chapter ends with a series of exercises that will test your Python skills and measure your understanding. Learning Python, Second Edition is a self-paced book that allows readers to focus on the core Python language in depth. As you work through the book, you'll gain a deep and complete understanding of the Python language that will help you to understand the larger application-level examples that you'll encounter on your own. If you're interested in learning Python--and want to do so quickly and efficiently--then Learning Python, Second Edition is your best choice.

Table of Contents:
Preface; I. Getting Started; 1. A Python Q&A Session; Why Do People Use Python?; Is Python a "Scripting Language"?; Okay, But What's the Downside?; Who Uses Python Today?; What Can I Do With Python?; What are Python's Technical Strengths?; How Does Python Stack-up to Language X?; 2. How Python Runs Programs; Introducing the Python Interpreter; Program Execution; Execution Model Variations; 3. How You Run Programs; Interactive Coding System Command Lines and Files; Clicking Windows File Icons Module Imports and Reloads; The IDLE User Interface; Other IDEs Embedding Calls; Frozen Binary Executables; Text Editor Launch Options; Other Launch Options; Future Possibilities?; Which Option Should I Use?; Part I Exercises; II. Types and Operations 4. Numbers; Python Program Structure; Why Use Built-in Types? Numbers; Python Expression Operators; Numbers in Action The Dynamic Typing Interlude; 5. Strings; String Literals Strings in Action; String Formatting; String Methods General Type Categories; 6. Lists and Dictionaries; Lists Lists in Action; Dictionaries; Dictionaries In Action 7. Tuples, Files, and Everything Else; Tuples; Files Type Categories Revisited; Object Generality; References Versus Copies; Comparisons, Equality, and Truth; Python's Type Hierarchies; Built-in Type Gotchas; Part Summary; Part II Exercises; III. Statements and Syntax; 8. Assignment, Expressions, and Print; Assignment Statements; Expression Statements Print Statements; 9. if Tests; if Statements; Python Syntax Rules; Truth Tests; 10. while and for Loops; while Loops break, continue, pass, and the Loop else; for Loops; Loop Variations; 11. Documenting Python Code; The Python Documentation Interlude; Common Coding Gotchas; Part Summary; Part III Exercises; IV. Functions; 12. Function Basics; Why Use Functions?; Coding Functions; A First Example: Definitions and Calls; A Second Example: Intersecting Sequences; 13. Scopes and Arguments; Scope Rules; The global Statement; Scopes and Nested Functions; Passing Arguments; Special Argument Matching Modes 14. Advanced Function Topics; Anonymous Functions: lambda; Applying Functions to Arguments; Mapping Functions Over Sequences; Functional Programming Tools; List Comprehensions; Generators and Iterators; Function Design Concepts; Function Gotchas; Part Summary; Part IV Exercises; V. Modules; 15. Modules: The Big Picture; Why Use Modules?; Python Program Architecture; How Imports Work; 16. Module Coding Basics; Module Creation Module Usage; Module Namespaces; Reloading Modules 17. Module Packages; Package Import Basics; Package Import Example; Why Use Package Imports?; A Tale of Three Systems 18. Advanced Module Topics; Data Hiding in Modules; Enabling Future Language Features; Mixed Usage Modes: __name_ _ and _ _main_ _; Changing the Module Search Path; The import as Extension; Module Design Concepts; Module Gotchas; Part Summary; Part V Exercises; VI. Classes and OOP; 19. OOP: The Big Picture; Why Use Classes?; OOP from 30,000 Feet; 20.


Best Sellers


Product Details
  • ISBN-13: 9780596002817
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Edition: Revised edition
  • Language: English
  • Spine Width: 32 mm
  • Width: 181 mm
  • ISBN-10: 0596002815
  • Publisher Date: 27 Jan 2004
  • Binding: Paperback
  • Height: 233 mm
  • Returnable: N
  • Weight: 864 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Learning Python
O'Reilly Media -
Learning 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.

Learning 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!