Core Python 3: Getting Started training

Core Python 3: Getting Started training

In this course we'll introduce you to the essentials of the Python language, development culture, and important parts of the Python standard library. This course will help you develop the foundation you need to work on any Python project.

What you'll learn

Python is a big language, and it's important to have a thorough grounding in its key concepts in order to be productive and create high-quality Python programs. In our experience, starting off in the right direction and avoiding early misconceptions is crucial to success with Python, and that's the kind of start we aim to provide. In this course, Core Python 3: Getting Started, we are going to introduce you to the essentials of the Python language as well as important parts of the Python standard library. Some of the major topics that we will cover include: Python's fundamental data types, using functions and modules to organize your code, Python's underlying object model, defining your own types using classes, and working with iteration and iterable objects. By the end this course, you'll have the skills and knowledge to work on almost any Python project, and you'll be in a great position to continue learning more advanced aspects of the language.

Table of contents

Course Overview

Installing and Starting Python

  • Version Check
  • Overview
  • Installing Python
  • Interactive Python
  • Significant Whitespace
  • Python Culture
  • The Python Standard Library
  • Summary

Scalar Types, Operators, and Control Flow

  • Overview
  • Relational Operators
  • Control Flow
  • While-loops
  • Summary

Introducing Strings, Collections, and Iteration

  • Overview
  • String
  • String Literals
  • Bytes
  • List
  • Dict
  • For-loop
  • Putting it all Together
  • Summary

Modularity

  • Overview
  • Modules
  • Functions
  • The Python Execution Model
  • Command Line Arguments
  • Moment of Zen
  • Docstrings
  • Comments
  • Shebang
  • Summary

Objects and Types

  • Overview
  • Passing Arguments and Returning Values
  • Function Arguments
  • Python's Type System
  • Scopes
  • Moment of Zen
  • Everything is an Object
  • Summary

Built-in Collections

  • Overview
  • Tuples
  • Strings
  • Ranges
  • Lists
  • Dictionaries
  • Sets
  • Protocols
  • Summary

Exceptions

  • Overview
  • Exceptions and Control Flow
  • Handling Exceptions
  • Exceptions and Programmer Errors
  • Re-raising Exceptions
  • Exceptions Are Part of the API
  • Exceptions and Protocols
  • Avoid Explicit Type Checks
  • It's Easier to Ask Forgiveness Than Permission
  • Cleanup Actions
  • Platform-Specific Code
  • Summary

Iteration and Iterables

  • Overview
  • List and Set Comprehensions
  • Dictionary Comprehensions
  • Filtering Comprehensions
  • Moment of Zen
  • Iteration Protocols
  • Generator Functions
  • Maintaining State in Generators
  • Laziness and the Infinite
  • Generator Expressions
  • Iteration Tools
  • Summary

Classes

  • Overview
  • Classes
  • Defining Classes
  • Instance Methods
  • Instance Initializers
  • A Second Class
  • Collaborating Classes
  • Moment of Zen
  • Booking Seats
  • Methods for Implementation Details
  • Object-Oriented Design with Function Objects
  • Polymorphism and Duck Typing
  • Inheritance and Implementation Sharing
  • Summary

File IO and Resource Managements

  • Overview
  • Opening Files
  • Writing Text
  • Reading Text
  • Appending Text
  • Iterating over Files
  • Closing Files with Finally
  • With-blocks
  • Moment of Zen
  • Binary Files
  • Bitwise Operators
  • Pixel Data
  • Reading Binary Data
  • File-like Objects
  • Context Managers
  • Summary

contact us

email - [email protected]

要查看或添加评论,请登录

社区洞察

其他会员也浏览了