每日心得
2012 - 5 - 9
python random module
maybe i configure in the wrong way , one cure item checkin , what so ever ,i complied the opencv2.4 with codeblock and qt .
python random module
i had googled "python random" for several times , and i finalliy realized
i had googled "python random" for several times , and i finalliy realized that i have to write it down .
random.random() # generate num , 0<= num <1.0 random.uiform(a,b) # if a<b : a<=num<=b ;else : b<=num<=a random.randint(a,b) # a < num <b