Python

Password Generator

Updated 28 September 2026 1 min read By LaunchCV.in

Generate strong random passwords with adjustable rules.

Generate strong random passwords with adjustable rules.

Difficulty: Beginner · Technology: Python

Features to build

  • Length and character options
  • Strength meter
  • Copy to clipboard
  • Command line or simple GUI

Step-by-step build plan

  1. Use Python secrets, not random, for generation
  2. Add length and character-set options
  3. Score strength with clear rules
  4. Add a copy button in a simple interface
  5. Write a few tests

The part most people find hard

Guaranteeing at least one of each chosen character type.

How to test it

Generate a thousand passwords and confirm the rules hold.

Suggested extensions

Add user accounts, better error handling, automated tests and a README with screenshots. Each extension is a new talking point in interviews.

How to describe it on your resume

Wrote a configurable secure password generator in Python.

Portfolio tip

Deploy it, link both the live version and the code, and write two paragraphs about what you learned and what you would improve.