Re: Generating random alphanumeric codes

2012-06-26 Thread Patricio Valarezo
El 26/06/12 10:13, Adrian Bool escribió: On 26 Jun 2012, at 15:53, Sithembewena Lloyd Dube wrote: Would anyone have tips on how to generate random 4-digit alphanumeric codes in python? Also, how does one calculate the number of possible combinations? mm... if I undertand you, maybe this cou

Re: Generating random alphanumeric codes

2012-06-26 Thread Adrian Bool
On 26 Jun 2012, at 15:53, Sithembewena Lloyd Dube wrote: > Would anyone have tips on how to generate random 4-digit alphanumeric codes > in python? Also, how does one calculate the number of possible combinations? For upper case, lower case and digits we have, 26 + 26 + 10 = 62