Python Prompts Free Prompt

Python Script to Generate a Random Password Manager

Create a Python script that stores and retrieves passwords encrypted
☆ Save
Prompt
You are a Python developer. Write a simple password manager that stores website passwords encrypted using cryptography. The script must: 1) Allow adding new entry (website, username, password), 2) Encrypt password with master key, 3) Retrieve password for a website, 4) List all websites, 5) Use a master password to unlock, 6) Save to encrypted file, 7) Provide CLI. Add comments.

How to use this prompt

1
Click Copy Prompt above to copy to your clipboard.
2
Open ChatGPT, Claude, Gemini, or any AI assistant and paste the prompt.
3
Replace any [PLACEHOLDER] values with your specific details.
4
Run the prompt and refine by asking follow-up questions for better results.