0 Replies - 336 Views - Last Post: 11 December 2008 - 06:39 PM

#1 girasquid   User is offline

  • Barbarbar
  • member icon

Reputation: 108
  • View blog
  • Posts: 1,825
  • Joined: 03-October 06

Random Password Generator

Posted 11 December 2008 - 06:39 PM

Description: Simply run, and then copy to clipboard. Easy!This script will generate a random, 21-character long password.
#!/usr/bin/python

import subprocess
import random

password = ''.join([random.choice('ABCDEFGHIJKLMNOPQRSTUV
WXYZabcdefghijklmnopqrstuvwxyz1234567890') for i in range(21)])
print "password is: %s" % password

Is This A Good Question/Topic? 0
  • +

Page 1 of 1