Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meteatamel/python-samples
A random collection of Python samples
https://github.com/meteatamel/python-samples
Last synced: 2 days ago
JSON representation
A random collection of Python samples
- Host: GitHub
- URL: https://github.com/meteatamel/python-samples
- Owner: meteatamel
- License: apache-2.0
- Created: 2023-08-02T06:43:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-02T06:49:04.000Z (over 1 year ago)
- Last Synced: 2024-12-27T05:41:56.139Z (7 days ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python samples
A random collection of Python samples
Create shapes from `main.py`:
```sh
python main.py
```Create shapes from `tests.py`:
```sh
cd tests
pytest test.py -s
```Create shapes from a subclass main method:
```sh
cd shapes
python square.pycd shapes/circle
python circle.py
```