/ Published in: Python
                    
                                        
Obviously there's no real crytpo here -- use this for cases like regenerating and emailing a user password.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
import string
from random import choice
size = 9
''.join([choice(string.letters + string.digits) for i in range(size)])
Comments
 Subscribe to comments
                    Subscribe to comments
                
                