Python Fundamentals LiveLessons (Video Training)
by Chun, Wesley JRent Book
New Book
We're Sorry
Sold Out
Used Book
We're Sorry
Sold Out
eBook
We're Sorry
Not Available
How Marketplace Works:
- This item is offered by an independent seller and not shipped from our warehouse
- Item details like edition and cover design may differ from our description; see seller's comments before ordering.
- Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
- Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
- Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.
Summary
Author Biography
Wesley J. Chun, MSCS, is author of Prentice Hall’s bestseller, Core Python Programming, Second Edition (corepython.com), and coauthor of Python Web Development with Django (withdjango.com). In addition to being a senior software architect, he runs CyberWeb (cyberwebconsulting.com), a consulting business specializing in Python software 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
| Preface | p. vii |
| Introduction: Administrivia, Installation, References/Resources | p. 1 |
| Downloading Python | p. 1 |
| Editors | p. 1 |
| IDEs | p. 1 |
| Interactive Interpreter | p. 4 |
| Exercises | p. 5 |
| Getting Started | p. 7 |
| Python 2 to Python 3 Transition | p. 7 |
| Exercises | p. 7 |
| Python Syntax Basics | p. 9 |
| Basic Syntax Rules | p. 9 |
| Commenting | p. 9 |
| Code Block Delimitation | p. 9 |
| Variables and Assignment | p. 10 |
| Identifier Rules | p. 10 |
| Functions | p. 10 |
| Importing Modules and Packages | p. 11 |
| User Keyboard Input | p. 12 |
| Exercises | p. 12 |
| Standard Types | p. 13 |
| Standard Types | p. 13 |
| Numbers | p. 13 |
| Sequences | p. 14 |
| Hashing | p. 18 |
| Operators and Built-in Functions | p. 21 |
| Exercises | p. 31 |
| Objects and Memory Model | p. 33 |
| Objects | p. 33 |
| References (and Variables) | p. 34 |
| Reference Counting | p. 34 |
| Categorizing the Types | p. 35 |
| Quizzes | p. 36 |
| Exercises | p. 36 |
| Loops and Conditionals | p. 37 |
| if Statement Family | p. 37 |
| Ternary Operator/Conditional Expression | p. 37 |
| Loops | p. 38 |
| while | p. 38 |
| for | p. 38 |
| Loop Helpers | p. 42 |
| Summary | p. 43 |
| Exercises | p. 43 |
| Files and Input/Output | p. 45 |
| Files | p. 45 |
| Standard Files | p. 45 |
| File Objects | p. 46 |
| File Methods | p. 46 |
| Reading Data | p. 46 |
| Writing Data | p. 48 |
| Other File Attributes | p. 48 |
| Limitations of Files and Other Forms of Persistent Storage | p. 49 |
| Pickling Objects | p. 49 |
| Shelving Objects | p. 50 |
| Summary | p. 51 |
| Exercises | p. 54 |
| Errors and Exceptions | p. 55 |
| Concepts | p. 55 |
| Exception Handling and Python | p. 55 |
| Using the try-except Statement | p. 56 |
| Causes of Exceptions | p. 58 |
| Handling Multiple Exceptions | p. 58 |
| Using else with try-except | p. 59 |
| The finally Statement | p. 59 |
| Context Management | p. 60 |
| Throwing Exceptions with raise and assert | p. 61 |
| Creating Your Own Exceptions | p. 62 |
| Limitations | p. 63 |
| Non-Error Exceptions | p. 63 |
| Summary | p. 64 |
| Exercises | p. 66 |
| Functions and Functional Programming | p. 67 |
| Arguments in Function Calls | p. 68 |
| Function Declarations and Definitions | p. 68 |
| Return Values | p. 69 |
| Evaluation | p. 69 |
| Variable Scope and Namespaces | p. 70 |
| Functional Programming | p. 74 |
| and Have Nothing to Do with Pointers in Python | p. 75 |
| Variable Arguments | p. 76 |
| Argument Groups/Collections/Expansion | p. 76 |
| Advanced Topics | p. 77 |
| Summary | p. 79 |
| Exercises | p. 79 |
| Object-Oriented Programming | p. 81 |
| Structured Programming | p. 81 |
| Object-Oriented Programming | p. 82 |
| Structured/Procedural vs. Object-Oriented Programming | p. 82 |
| OOP and Python | p. 83 |
| Classes | p. 84 |
| Instances | p. 86 |
| Methods | p. 87 |
| Subclasses | p. 88 |
| Multiple Inheritance | p. 91 |
| Summary | p. 92 |
| Exercises | p. 94 |
| Table of Contents provided by Publisher. All Rights Reserved. |
Excerpts
An electronic version of this book is available through VitalSource.
This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.
By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.
A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.
Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.
Please view the compatibility matrix prior to purchase.
