def random_string(length=<NUM_LIT:6>, alphabet=string.ascii_letters+string.digits):
return '<STR_LIT>'.join([random.choice(alphabet) for i in xrange(length)])<EOL>
Return a random string of given length and alphabet.

Default alphabet is url-friendly (base62).