Get started with Python in a practical, hands-on way! Learn types in Python like basic data types, tuples, and dictionaries. Understand control flow in Python programs with loops, boolean statements, if statements, and return statements. Then you’ll make concise, reusable functions, learn how to work with files on your filesystem, and write programs that interact with APIs!
Overview
Syllabus
- Introduction
- System Requirements
- Opening the Project and Python File
- Starting the Python REPL
- Using the Python REPL
- Common REPL Mistakes
- Why Python
- Code Sample
- Variables
- Numbers
- Strings
- Practice: Data Types
- Functions
- Function Arguments
- Empty Default Lists
- Function Scope
- Practice: Functions
- Lists
- Changing the Order of a List
- Adding Items to a List
- List Lookups
- Removing Items from a List
- List Review
- Tuples
- Unpacking Tuples
- Tuples Review
- Sets
- Adding, Removing, & Updating
- Combining, Comparing, & Contrasting
- Set Review
- Dictionaries
- Adding, Removing, & Accessing Keys or Values
- Dictionaries Review
- Mutability Review
- Practice: Advanced Data Types
- Booleans
- Comparisons
- and, or, & not
- Practice: Boolean Logic
- Looping Over Lists
- Looping Over Dictionaries
- Control Flow
- while & Control Statements
- Python Files & Modules
- Debugging Strategies in Python
- Importing Modules, & the main Method
- External Modules with PIP
- APIs Overview
- requests Library
- App Solution 1: Fetching the Github API
- App Solution 2: Searching the Github API
- App Solution 3: Error Handling
- Wrapping Up
Taught by
Nina Zakharenko