Ship the Screenshot Describer

shipping the tool

Part of: Screenshot Describer

Every piece exists now: image encoding, structured parsing, HTML rendering, layout CSS, validation, and a size guard. Lesson 8 wires them into one command someone can run, and finishes by landing the build in your Portfolio . Two modes, one pipeline. The tool does one of two things depending on what the user wants: a plain-English description, or generated starter code. Both modes share every step up through normalization. Only the last step differs. The full run, top to bottom. python describe.py screenshot.png prints a paragraph. python describe.py screenshot.png code prints starter HTML. Same pipeline, one argument decides the output. What "shipped" means here. The same three checks as every product in this track. It runs from a clean start with one command. It survives a broken reply or an oversized image without crashing, which is lessons 6 and 7 doing their job. And someone else could point it at their own screenshot from your instructions alone. What usually goes wrong. What you see What caused it How to fix it --- --- --- The tool exits with an IndexError before it does anything No image path was passed, so sys.argv[1] doesn't exist Check the argument count and print a usag

Challenge: Dispatch the Final Output