Back to the project
Original project · Illustrated user guide

Lotto 6 aus 45

Statistics, draw tips and safe online updates on Linux Mint.

Version 2.2.2 Linux Mint Python 3 · Tkinter · SQLite
Download program

1. Program overview

The program manages historical Lotto 6 aus 45 and Joker draws, shows the latest draw with prize information, creates rule-based random tips and calculates extensive statistics. All draw data is stored locally in an SQLite database.

FeatureDescription
Four main tabsLatest draw, draw tips, statistics and settings.
Safe updatesAll enabled CSV sources are checked together and backups are created before changes are made.
10 tips by defaultBetween 1 and 50 locally generated random tips can be created.
Linux Mint integrationLight/dark mode, accent colour and system font are adopted automatically.
Fixed number colours: The six Lotto numbers and the additional number keep their defined colours independently of the Linux Mint theme.
Important: Historical frequencies, trends and rule matches do not change the chance of winning with a valid six-number combination.

2. Installation and start

Requirements: Linux Mint, Python 3 and Tkinter (python3-tk). An internet connection is only needed for online updates.

  1. Download and extract the ZIP archive.
  2. Open a terminal in the extracted project folder.
  3. Make the installer executable: chmod +x installieren_und_starten.sh.
  4. Start the installation with ./installieren_und_starten.sh.

The application is installed to ~/python/lotto. An existing installation is backed up first. The existing lotto.db, the master CSV and custom download sources are retained.

Missing database: If lotto.db is missing at start-up, it is rebuilt automatically from the supplied master CSV.

3. “Latest draw” tab

Latest Lotto 6 aus 45 draw, prize tables and Joker number
The latest Lotto numbers and additional number, Lotto prize table, Joker number and Joker prize table.
  • Reload: Reads the latest draw from the local database again.
  • Add from internet: Downloads all enabled sources, validates them and merges new draws or later prize information.
  • CSV → database: Rebuilds the SQLite database from the local master CSV.
Safety: The CSV and database are backed up before an online update. Conflicting winning numbers are never applied.

4. “Draw tips” tab

Lotto draw tip generator with selectable statistical rules
Ten tips are selected by default; between 1 and 50 tips can be generated.

The statistical period and individual selection rules can be combined. The program uses a system random generator and evaluates the generated combinations against the enabled rules.

Rule groupAvailable choices
FrequencyHot, cold and overdue numbers; frequent number pairs.
DistributionOdd/even, low/high, typical sum and number ranges.
Draw patternRepetitions from the previous draw, consecutive numbers and historic six-number combinations.
No prediction: The rules only control the composition of the tips. Every valid combination has the same mathematical chance in a fair draw.

5. “Statistics” tab

Lotto statistics overview with frequency chart and expectation line
The expectation line is shown as a high-contrast dashed line with its exact theoretical value.
  • Overview and frequency of numbers 1 to 45.
  • Overdue numbers and average or maximum gaps.
  • Pairs, groups and repeated complete six-number combinations.
  • Odd/even, low/high, sums, consecutive numbers and number ranges.
  • Comparisons by year, weekday and recent draw periods.
  • Chi-square test, dispersion, repetition rate and linear trend checks.

The period selector limits the draws included in the calculations. Use Recalculate statistics after changing the period or updating the database.

6. “Settings” tab

Lotto settings with enabled CSV sources and download addresses
Management of official yearly win2day files and standard CSV sources.
FieldFunction
EnabledOnly checked sources are used for updates.
Source nameA clear description of the download source.
File formatwin2day Lotto, win2day Joker or a supported standard CSV.
Download addressHTTP or HTTPS URL; {year} is replaced with the required year automatically.

Sources can be added, removed and saved. Restore default sources resets the list to the sources supplied with the program.

Validation: At least one source must remain enabled. Incorrect URLs, unsupported formats and conflicts are reported without changing local data.

7. Typical workflows

Add draws from the internet

  1. Enable the required sources under Settings and save them.
  2. Open Latest draw and select Add from internet.
  3. Check and confirm the displayed source list.
  4. Read the result showing new, updated and unavailable sources.

Missing or rebuilt database

  • If lotto.db is missing, it is rebuilt automatically from the master CSV.
  • If both the database and the master CSV are missing, the program stops with a clear error message.
  • Use CSV → database for an intentional full rebuild.

Keyboard and buttons

CommandAction
Ctrl+RReload the active tab.
EscClose the program.
ReloadRead the latest draw from the database again.
Copy tipsCopy all generated tips to the clipboard.

8. Troubleshooting

  • Online error: Check the internet connection, enabled checkbox, URL and selected file format.
  • Unknown CSV structure: Assign the correct supported format to the source.
  • Outdated display: Use Reload or Ctrl+R and then recalculate the statistics.
  • Damaged settings: Restore the default sources and save again.
Responsible play: The application analyses historical draws but cannot predict future winning numbers.

Integrated PHP edition of the illustrated HTML guide for version 2.2.2.