I need to generate random variable type=long, so it should looks like:x=0xabcdef1234567890
EDIT:
>>> x='0xa123456789abcdef'
>>> type(x)
<type 'str'>
>>> long(x, 16)
11611200575284956655L
>>> x=0xa123456789abcdef
>>> type(x)
<type 'long'>