Skip to content

Instantly share code, notes, and snippets.

@tropis
tropis / how_to_make_a_json_reader_in_python.txt
Created June 2, 2023 07:30
How to make a JSON reader in python
Make a JSON file reader
Create reader.py
Make a function test_hello() that prints "Hello"
Make a function test_goodbye() that prints "Goodbye"
At the end of the file make a function main()
Main should choose to run either test_hello() or test_goodbye() depending on the command line argument.