close menu
Bookswagon-24x7 online bookstore
close menu
My Account
Python for Everyone: (English)

Python for Everyone: (English)

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Python for Everyone, 1st Edition is a comprehensive introduction to Python and computer programming, which focuses on the principles of programming, software engineering, and effective learning. It is designed for a one-semester, mixed-major, first course in programming.

Nobody supports your desire to teach students good programming skills like Cay Horstmann and Rance Necaise. Active in both the classroom and the software industry, Horstmann and Necaise know that meticulous coding—not shortcuts—is the base upon which great programmers are made. Using an innovative visual design that leads students step-by-step through intricacies of Python programming, Python For Everyone, 1st Edition instills confidence in beginning programmers and confidence leads to success.



Table of Contents:

PEFACE V

SPECIAL FEATURES XVIII

CHAPTER 1 INTRODUCTION 1

1.1 Computer Programs 2

1.2 The Anatomy of a Computer 3

1.3 The Python Programming Language 5

1.4 Becoming Familiar with Your Programming Environment 6

1.5 Analyzing Your First Program 11

1.6 Errors 14

1.7 Problem Solving: Algorithm Design 16

CHAPTER 2 PROGRAMMING WITH NUMBERS AND STRINGS 29

2.1 Variables 30

2.2 Arithmetic 37

2.3 Problem Solving: First Do It By Hand 45

2.4 Strings 48

2.5 Input and Output 55

2.6 Graphics: Simple Drawings 65

CHAPTER 3 DECISIONS 91

3.1 The if Statement 92

3.2 Relational Operators 97

3.3 Nested Branches 106

3.4 Multiple Alternatives 109

3.5 Problem Solving: Flowcharts 112

3.6 Problem Solving: Test Cases 116

3.7 Boolean Variables and Operators 118

3.8 Analyzing Strings 124

3.9 Application: Input Validation 127

CHAPTER 4 LOOPS 155

4.1 The while Loop 156

4.2 Problem Solving: Hand-Tracing 163

4.3 Application: Processing Sentinel Values 166

4.4 Problem Solving: Storyboards 170

4.5 Common Loop Algorithms 173

4.6 The For Loop 177

4.7 Nested Loops 184

4.8 Processing Strings 190

4.9 Application: Random Numbers and Simulations 194

CHAPTER 5 FUNCTIONS 219

5.1 Functions as Black Boxes 220

5.2 Implementing and Testing Functions 222

5.3 Parameter Passing 226

5.4 Return Values 229

5.5 Functions Without Return Values 237

5.6 Problem Solving: Reusable Functions 239

5.7 Problem Solving: Stepwise Refinement 242

5.8 Variable Scope 251

5.9 Recursive Functions (Optional) 258

CHAPTER 6 LISTS 277

6.1 Basic Properties of Lists 278

6.2 List Operations 284

6.3 Common List Algorithms 290

6.4 Using Lists with Functions 297

6.5 Problem Solving: Adapting Algorithms 303

6.6 Problem Solving: Discovering Algorithms by Manipulating Physical Objects 310

6.7 Tables 314

CHAPTER 7 FILES AND EXCEPTIONS 341

7.1 Reading and Writing Text Files 342

7.2 Text Input and Output 346

7.3 Command Line Arguments 357

7.4 Binary Files and Random Access (Optional) 368

7.5 Exception Handling 377

7.6 Application: Handling Input Errors 383

CHAPTER 8 SETS AND DICTIONARIES 403

8.1 Sets 404

8.2 Dictionaries 414

8.3 Complex Structures 424

CHAPTER 9 OBJECTS AND CLASSES 443

9.1 Object-Oriented Programming 444

9.2 Implementing a Simple Class 446

9.3 Specifying the Public Interface of a Class 450

9.4 Designing the Data Representation 452

9.5 Constructors 454

9.6 Implementing Methods 457

9.7 Testing A Class 461

9.8 Problem Solving: Tracing Objects 469

9.9 Problem Solving: Patterns for Object Data 472

9.10 Object References 478

9.11 Application: Writing a Fraction Class 482

CHAPTER 10 INHERITANCE 507

10.1 Inheritance Hierarchies 508

10.2 Implementing Subclasses 513

10.3 Calling the Superclass Constructor 517

10.4 Overriding Methods 521

10.5 Polymorphism 524

10.6 Application: A Geometric Shape Class Hierarchy 538

CHAPTER 11 RECURSION 555

11.1 Triangle Numbers Revisited 556

11.2 Problem Solving: Thinking Recursively 560

11.3 Recursive Helper Functions 565

11.4 The Efficiency of Recursion 566

11.5 Permutations 571

11.6 Backtracking 575

11.7 Mutual Recursion 583

CHAPTER 12 SORTING AND SEARCHING 597

12.1 Selection Sort 598

12.2 Profiling the Selection Sort Algorithm 600

12.3 Analyzing the Performance of the Selection Sort Algorithm 602

12.4 Merge Sort 606

12.5 Analyzing the Merge Sort Algorithm 609

12.6 Searching 614

12.7 Problem Solving: Estimating the Running Time of An Algorithm 617

APPENDICES

Appendix A The Basic Latin And Latin-1 Subsets Of Unicode A-1

Appendix B Python Operator Summary A-4

Appendix C Python Reserved Word Summary A-6

Appendix D The Python Standard Library A-8

Appendix E Binary Numbers and Bit Operations A-29

Glossary G-1

Index I-1

Credits C-1


Best Seller

| | See All

Product Details
  • ISBN-13: 9781118626139
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: John Wiley & Sons Inc
  • Depth: 25
  • Language: English
  • Returnable: N
  • Spine Width: 28 mm
  • Width: 196 mm
  • ISBN-10: 1118626133
  • Publisher Date: 26 Apr 2013
  • Binding: Paperback
  • Height: 252 mm
  • No of Pages: 720
  • Series Title: English
  • Weight: 1179 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Be The First to Review
Python for Everyone: (English)
John Wiley & Sons Inc -
Python for Everyone: (English)
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.

Python for Everyone: (English)

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

    | | See All


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA