1
Usage
Tirsvad edited this page 2026-11-15 09:26:44 +01:00

English · Dansk · Bahasa Melayu

Usage

Run the program from the project folder:

python -m password_generator
password-generator

The program asks how many letters, symbols and numbers you want and prints two passwords:

  • Easy level: letters first, then symbols, then numbers.
  • Hard level: the same characters in random order.

A count must be a whole number of 0 or more; the program asks again when it is not. Colours in the title are skipped when the output is not a terminal or when the NO_COLOR environment variable is set.