Random password generator

posted by: Ms. Martin 4 May 2011 No Comment

You will create a random password generator that looks something like the following:

I have written the interface for you.  You will write a function that returns a random password based on two parameters: whether it uses numbers and characters and the desired length.

First, download the files password_gui.py and make_password.py.  Make sure they run.  At this point, there should be an error when you click ‘Generate.’   You need to fix it by creating the random_password function in make_password!

The make_password file includes a suggested strategy for approaching this.  It is good practice to start small and make little steps towards the final goal.

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 3.67 out of 5)
Loading ... Loading ...

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>