How to generate a random sequence of numbers in python? : <p>I need to create a short unique ID which is a random sequence of numbers in python.  So i need to allocate the short sequence to a user and also store it in a text file</p>

<p>Can some one please help me with this and give me an example??</p>
