simple project that select random from customers with different chances powered by python.
To run this project, Just use steps below:
- Install
python3
,pip
,virtualenv
in your system. - Clone the project
https://github.com/bakefayat/lottery
. - Make virtual environment ready using commands below;
git clone https://github.com/bakefayat/lottery && cd lottery
python3 -m venv .venv # Create virtualenv named .venv in linux (windows is different.)
source .venv/bin/activate
pip install -r requirements.txt
- Run project
open customers.xlsx using excel and change data.
- customers with different chances.
- OOP
- read customers and chances from excel.