wk03.p9Practice exerciseWeek 03 · Data and the outside worldOpen · due this week

Adopt a library

Run the whole six-step move on a library nobody taught you. Pick a small problem you actually have, find a box for it, install it, and make something real you can screenshot.

What you'll build

Run the whole six-step move on a library nobody taught you. Pick a small problem you actually have, find a box for it, install it, and make something real you can screenshot.

Requirements

The must-do parts. If any are missing, we'll ask you to take another pass.

  1. Pick a small, real problem of your own and a beginner-friendly library that solves it. Safe, fun starting points: qrcode (make a QR code), wikipedia (one-line topic summaries), pyjokes (random jokes), emoji (turn text into emoji).
  2. Work the six steps and show each one: (1) the problem in plain words, (2) how you found the library — which AI or site and what you asked, (3) the !pip install line, (4) the first line you found, (5) proof you ran it, (6) one useful thing you made.
  3. Actually run it in Colab — do not just paste code you found. The whole point of the exercise is the running and the checking.
  4. Capture the proof: the output, or a screenshot of what you made (the QR code, the summary, whatever it is).
Bonus, if you're feeling brave
  • Wrap your working line in your own function (like make_qr(link, filename)) and call it two or three times.
  • Ask the AI for one more thing the library can do, try it, and say plainly whether it worked or not.

Examples

What your program should look like when it runs. Lines starting with $ are typed by you; the rest is your program.

A finished adoption, start to end
1. Problem:  I want a QR code for my LinkedIn to put on my CV.
2. Library:  qrcode  (asked an AI "library to make a QR code in Python?")
3. Install:  !pip install qrcode
4. First line: qrcode.make("https://linkedin.com/in/me").save("me.png")
5. Ran it: me.png appeared, scanned it with my phone, opened my profile. ✓
6. Made: a QR code image I added to my CV.

Where to start

Copy this scaffold into a new file. You don't have to use it — it's just a friendly nudge.

Adopt a library — fill this in as you go.

1. My problem, in plain words:
   ___

2. The library I found:  ___
   How I found it (which AI / site, what I asked):
   ___

3. Install it:
   !pip install ___

4. The first line I found:
   ___

5. I ran it. What happened (the proof):
   ___

6. One useful thing I made with it:
   ___

How we'll grade it

Four checks, four points. Three or above is passing — we'll ask you to revise anything we can't tick.

CheckWhat we look forPt
Showed the six stepsYour write-up walks the whole move: plain-words problem, found the box, installed it, first line, ran it, made something.1
Installed and importedA third-party library was fetched with `!pip install` and imported — not assumed to already exist.1
Ran and checkedYou actually ran the code and show the result — output or a screenshot — not just the code you found.1
Made one real thingThere is a concrete result you can point at: a QR code, a summary, a joke bot — something that works.1
Ready?
Hand it in
You can submit a draft and revise later if you're not done.
Begin submission →