https://github.com/veltzer/demos-lang-python
Demos for the Python programming language
https://github.com/veltzer/demos-lang-python
demos python
Last synced: 5 months ago
JSON representation
Demos for the Python programming language
- Host: GitHub
- URL: https://github.com/veltzer/demos-lang-python
- Owner: veltzer
- License: gpl-3.0
- Created: 2013-10-01T11:23:39.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-11-28T09:27:53.000Z (about 1 year ago)
- Last Synced: 2024-11-28T10:29:51.586Z (about 1 year ago)
- Topics: demos, python
- Language: Python
- Homepage: https://github.com/veltzer/demos-python
- Size: 96.4 MB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
## demos-python
version: 0.0.3
description: Demos for the Python programming language
website: https://veltzer.github.io/demos-python
## Build

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.
## Contact
chat with me at [](https://gitter.im/veltzer/mark.veltzer)
## Number of examples
Currently there are 986 examples in this repo.
## How to use the examples
* Create a virtual env:
```bash
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:
```bash
python src/examples/short/modules/pandas/basic.py
```
Mark Veltzer, Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025