Python script to check Mega Millions, Powerball, Lucky for Life, and Megabucks Doubler numbers to the results on www.masslottery.com.
This script was created to check the results for the office lotto pool season tickets. I grew tired of checking the numbers every day so I created this script to do it for us. The script can be modified to email the results to a distribution list.
- Copy lotto.py and tickets.txt to your computer.
- Run lotto.py from a terminal
- the results will print to the screen
- modify tickets.txt to include your season ticket numbers. Update the script to add or remove a game or to email the results
- set the script to run every day