Skip to main content
PacketMentor logo
Open menu
← All automation labs
Automation & Programmability Lab · Foundational ~6 min · 11 objectives · CCNA Automation (200-901) 1.1 and 1.2

Parse JSON and YAML in Python

Real Python REPL in your browser. Launch Python, import json and yaml, parse a VLAN definition, pull out a field, pretty-print it. The REPL tracks your variables between steps — you can experiment freely.

Hands-on lab · real engine

Python REPL: json.loads, yaml.safe_load, pretty-print

0 / 11

You are at a shell prompt. Step 1 launches Python, after which the prompt becomes >>>. The REPL remembers your variables between steps.

you@laptop:~$

Stuck on a lab, or not sure what to practice next?

Talk it through with a mentor on a free 20-minute call. We look at your lab, your exam date and your weak spots, and you leave with a plan.

Book a free session