📚 Learning and exploring the Python programming language.
Python is a programming language that lets you work quickly and integrate systems more effectively.
This repository is for me to learn and explore Python at my own pace and through subjects that interest me. This repository will contain executable code that will help me in the future when I want to review and quickly re-learn subjects I've already covered.
NOTE: This project was developed on macOS. It is for my own personal use.
Follow these instructions to run the demo programs.
- Use Python 3.11
- Alternatively, develop this project in a Dev Container defined in
.devcontainer/devcontainer.json
. The dev container is pre-installed with the required Python version.
- Alternatively, develop this project in a Dev Container defined in
- Run the "Hello World" program
-
python3 hello_world.py
- I'm using the
python3
name here instead ofpython
because it's such a common convention. While you can get away with using the straight namepython
on some systems because that points to a Python 3 installation, that's not a safe assumption on other systems wherepython
may point to a Python 2 installation. - Altogether, it should something like this:
$ python3 hello_world.py Hi there, from a Python program!
-
- Run the "read a JSON file" program
-
python3 read_json.py
-
General TODOs and things I wish to implement in this project.
- DONE Dev Container
- Figure out the right package manager. And wire in some basic utility library (although Pyhton is very cool that it has the basics like JSON and CSV support in the standard library already).
- REPL example and instructions
- Showcase type hints
- What does modularization look like in Python? Is there a module system, or conventions?
- DONE Read from a JSON file.