Path
Python
Learn Python by writing it, in a real notebook and a real terminal, graded on what your code actually does.
By Deboistech 8 labs 1 h 58 minBeginner to intermediate
Showing 1 of 8 labs.
- Subscription Python in a notebook Write your first Python in a notebook (strings, lists, dictionaries) and run it from a terminal.
- Subscription Functions and loops Write small functions, loops and conditions in a notebook, graded by calling your functions.
- Subscription Files and JSON Read and write files from Python, and save data as JSON, checked on the real files you create.
- Subscription Python scripts and modules Turn Python into a command-line program with arguments, exit codes and a module, in the terminal.
- Subscription Libraries and modules Use Python's built-in modules: math, random, os, sys and pathlib in a notebook.
- Subscription Classes and objects Write a Python class with attributes, methods and inheritance, graded on how its objects behave.
- Subscription Errors, exceptions and tests Catch and raise exceptions, then prove your code works with unittest, in the terminal.
- Subscription A command-line tool with argparse Build a real command-line tool with argparse, with arguments, options, flags and help.
