Welcome to the Island of Miscripts
Random bits of scripts and code so I'm not reinventing the wheel over and over.
Home of the miscreant python scripts.
- Run
pip install -e .\pyisland\
to get setup.
- Run
pip install virtualenv
to install the virtualenv package - Run
virtualenv .\pyisland\.venv
to create a virtualenv location - Run
.\pyisland\Scripts\activate
to start up the virtualenv
- Note - to deactivate the virtualenv, input
deactivate
- Run
pip install -r .\pyisland\requirements.txt
to install packages.
- Run
pytest .\pyisland\
to run tests.
- Run
docker build -t <image-name> .\pyisland\
- Run
docker run -it --rm <container-name> <image-name>
Classic problems that are often seen such as Hanoi Tower, Calculating Pi, etc.
These are classes that provided good examples of OOP usage and that I often use for reference. They can also be used by the Classic Problems.
- Place code in appropriate folder with some documentation
- When possible, have tests