Python in Practice
Take Python out of the browser and onto your own machine. You will install it, work in a terminal and a real editor, read and write files, use the standard library, handle JSON and CSV, give your programs a command-line interface, test them, talk to an API, and finish with a project someone else can download and run.
You need Python Fundamentals first, or equivalent experience writing Python. You also need to be able to open a terminal and type a command into it. Chapter 2 covers enough of the command line to follow this course, and if you would rather build that foundation properly first, Computer Fundamentals teaches it from the beginning along with files, paths, and how to read an error.
You rehearse in the site’s terminal and project editor, then download projects to run on your own computer. An explicit site-only continuation is available when local setup is impractical.
Lessons are arranged in a recommended order, but you can open any lesson.
Chapter 1
Python Outside the Browser
Chapter 2
The Command Line, Enough of It
Chapter 3
Isolated Environments and Packages
Chapter 4
Your Own Machine, Your Own Editor
Chapter 5
Reading and Writing Files
Chapter 6
The Standard Library Exists
Chapter 7
JSON and CSV
Chapter 8
Programs That Take Arguments
Chapter 9
When the Outside World Goes Wrong
Chapter 10
Testing a Real Project
Chapter 11
Talking to an API
Chapter 12
A Project Someone Else Can Run
Chapter 13
Capstone: A Practice Report Tool
- A Cache Is Data with a Contractpractice
- Freshness Needs One Injected Timepractice
- Choose Network, Cache, or Offline Datapractice
- Report the Page, and Test What You Builtpractice
- Make the CLI Boundary Honestpractice
- Capstone: Finish and Prove the Toolcapstone
- Take the Project with Youpractice
- Bring One Local Result Backpractice
Chapter 14
Where to Go Next
Course reviews
No reviews yet
Be the first to share your experience.