<human>:  What's the best way to generate random strings of a specific length in Python?
<bot>: Here is some code to generate random upper-case ascii string of 12 characters length

print(''.join(choice(ascii_uppercase) for i in range(12)))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.