Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 953 Bytes

README.md

File metadata and controls

51 lines (33 loc) · 953 Bytes

vikinglotto-generator

This program can generate a set of randomly picked lottery numbers for Vikinglotto and Eurojackpot.

The program's output supports showing the result using cowsay for added fun. The generated numbers are stored in a log file and can be reviewed if necessary.

Demo

中文说明

Requirements

If you need the program to display the results as cowsay, you need to have cowsay installed on your system.

Take Debian & Ubuntu as an example:

sudo apt update
sudo apt install cowsay -y

Installation

Use pip:

python3 -m pip install vikinglotto

Usage

Run the program in cowsay mode:

vikinglotto

Without using cowsay, print the result directly:

vikinglotto --plain

Generate numbers for Eurojackpot:

vikinglotto --euro