Key Features
Book Description
This book is designed for Python 2 developers who want to get to grips with Python 3 in a short period of time. It covers the key features of Python, assuming you are familiar with the fundamentals of Python 2.What you will learn
- Use Python interactively and master the art of writing efficient Python scripts
- Learn techniques for working with string data, including how to use regular expressions to parse strings
- Get to know how the shortcircuit and ifelse logic operators work
- Explore mutable data structures including list, set, and dict
- Define functions with positional and optional parameters, and learn to use keyword argument values when calling a function
- Write generator functions, generator expressions, and comprehensions
- Master the use of exceptions for handling errors and other unexpected conditions
- Understand the importance of working with files, context manager, and the with statement
Who this book is for
Table of Contents
- Getting Started
- Simple Data Types
- Expressions and Output
- Variables, Assignment and Scoping Rules
- Logic, Comparisons, Conditions
- More Complex Data Types
- Basic Function Definition
- More Advanced Python Functions
- Exceptions
- Files, Databases, Networks, and Contexts
- Class Definitions
- Scripts, Modules, Packages, Libraries, and Applications
- Metaprogramming and Decorators
- Fit and Finish: Unit Testing, Packaging, and Documentation
- Next Steps
Loading...
Loading...
Loading...

