Skip to content

sourcegraph-community/cody-demo-xkcd-936

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cody Demo

xkcd Password Strength

Prompt

I need a python script that does the following:

- Reads a list of words from a CSV file
- Randomly chooses 4 words from the list to generate a password
- Prints each word to the console with a random color for visual effect
- Copies the generated password to the user's clipboard
- Prints a message confirming the password was copied

Output

> python3 random-password-xkcd.py
awayhimselfcoursehouse
Password copied to clipboard!

Help

If this isn't working like it should please open an issue or join our Discord.