mobile logo

Python password generator

posted on May 12, 2009 / IN Linux / 0 Comments

Here is a simple few liner password generator written in compact python.

import string as s; from random import choice as c
x=10; print ''.join([c(s.letters + s.digits) for i in range(x)])

# python

By admin

Tagged With

No Comments

Please use the form to leave a comment

Leave a comment.