def getSeed():
 seed = int(((time.time() % 10000) * 10))
 print 'New seed generated as:', seed, 'called by',
 callStack = traceback.extract_stack(limit=3)
 print callStack[0][2], 'line', callStack[0][1], '->', callStack[1][2]
 return seed

def getSeed ( ) : seed = int ( ( ( time . time ( ) % 10000 ) * 10 ) ) print 'New seed generated as:' , seed , 'called by' , callStack = traceback . extract_stack ( limit = 3 ) print callStack [ 0 ] [ 2 ] , 'line' , callStack [ 0 ] [ 1 ] , '->' , callStack [ 1 ] [ 2 ] return seed
generate and log a 32-bit compatible seed value .