Courses
Python Advanced: Code That Scales Past Your Own Laptop
Check Yourself: Ship It, Then Make It Fast
Five scenario questions on packaging and profiling. If you miss more than one, reread the lesson before the final check.
Course content
Join this Course
Sign in to save your progress.
-
Functions That Wrap Functions
-
Python Closures: Functions That Remember
-
Python Decorators in Real Code: Timing, Retry and Logging
-
-
-
Data That Doesn't Fit in Memory
-
Python Iterators: What a for Loop Actually Does
-
Python Generators and yield: One Piece at a Time
-
Python Context Managers: Clean Up Even When Things Fail
-
-
-
Catch Bugs Before You Run the Code
-
Python Type Hints Beyond the Basics: Optional, Union, Generics
-
Checking Types With mypy in a Real Project
-
-
-
Doing More Than One Thing at a Time
-
Python Concurrency Basics: Threads, Processes or asyncio?
-
Python asyncio: Wait for Many Things Without Waiting Longer
-
-
-
Ship It, Then Make It Fast
-
Packaging a Python Project With pyproject.toml
-
Profiling Python Code: Measure Before You Optimize
-
-
- Final Check: Python Advanced
1.
Why does the src layout put the code in src/pricetool/ instead of directly in the project folder?
2.
Your package lists requests==2.32.3 as a dependency. Another package in the user's environment needs 2.33. What happens?
3.
What does [project.scripts] pricetool = "pricetool.cli:main" do?
4.
A report is slow. A coworker wants to rewrite the CSV reading because it "must be the slow part". What do you do first?
5.
Your faster version of a function is 200 times quicker. What must you check before replacing the old one?
About
Five scenario questions on packaging and profiling. If you miss more than one, reread the lesson before the final check.
- Duration
- 5 min
- Last update
- 09/06/2026
Was this helpful?
0
0
Comments (0)
Sign in to commentNo comments yet.