Introduction
Getting started with Python
()
Who this course is for
()
Resources for this course
()
1. Gearing Up for Python
How computers think
()
Installing Python, pip, and Jupyter Notebook
()
The Zen of Python
()
Writing a program
()
Challenge: Now in termcolor
()
Solution: Now in termcolor
()
2. Quick Start
Variables and types
()
Data structures
()
Operators
()
Control flow
()
Functions
()
Classes and objects
()
Challenge: It's hip to be square
()
Solution: It's hip to be square
()
3. Basic Data Types
Ints and floats
()
Other types of numbers
()
Booleans
()
Strings
()
Bytes
()
Challenge: Sense of direction
()
Solution: Sense of direction
()
4. Basic Data Structures
Lists
()
Tuples and sets
()
Dictionaries
()
List comprehensions
()
Dictionary comprehensions
()
Challenge: Structuring scribes
()
Solution: Structuring scribes
()
5. Control Flow
If and else
()
While
()
For
()
Challenge: Hitting a wall
()
Solution: Hitting a wall
()
6. Functions
The anatomy of a function
()
Variables and scope
()
Functions as variables
()
Challenge: Plotting the course
()
Solution: Plotting the course
()
7. Classes and Objects
The anatomy of a class
()
Static and instance methods
()
Inheritance
()
Challenge: Extending the scribe
()
Solution: Extending the scribe
()
8. Errors
Errors and exceptions
()
Handling exceptions
()
Custom exceptions
()
Challenge: The trouble with scribbles
()
Solution: The trouble with scribbles
()
9. Threads and Processes
Intro to threads and processes
()
Multithreading
()
Multiprocessing
()
Challenge: When I move, you move
()
Solution: When I move, you move
()
10. Working with Files
Opening, reading, and writing
()
CSV
()
JSON
()
Challenge: Single file
()
Solution: Single file
()
11. Packaging Python
Command-line arguments
()
Creating modules and packages
()
Challenge: Handling arguments
()
Solution: Handling arguments
()
Ex_Files_Python_EssT.zip
(4.2 MB)