Quiz · 3 questions
💻 CLI — From Script to Tool
argparse / click / typer / Rich
Level 0Curious
0 XP0/93 lessons0/23 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01What's the difference between
add_argument("input") and add_argument("--input") in argparse?Hint
What does the prefix tell argparse?
02Why might you choose
typer over click for a new CLI?Hint
Where does the CLI specification come from in each library?
03What does
from rich.traceback import install; install() do?Hint
What changes about how Python displays errors after this call?
Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.