version: 0.0.3
description: Demos for the Python programming language
website: https://veltzer.github.io/demos-python
This project explores the python programming language. The idea is that when you are programming you may find many examples over the Internet but you always need to tweak them a bit to see how you can get to an example which answers your needs precisely. Over the Internet this is hard to do. But if you clone hundreds of examples and you have them in working condition on your machine you can just find the example which is closest to what you need and tweak it until it does exactly what you need. You may even add your example as a new example or contribute it back to this project. This is a much better way of programming since you are not doing the experiments on your full system but rather on a small example that is easy to run, debug and manage. Once you have the example ready and running correctly you can incorporate its code into a larger project.
Currently there are 980 examples in this repo.
- Create a virtual env:
virtualenv my_venv
- Enter your virtual env:
source my_venv/bin/activate
- Install the requirements:
pip install -r requirements.txt
- Pick an example and run it:
python src/examples/short/modules/pandas/basic.py
Mark Veltzer, Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025