This question might generate be a very simple answer of, "Yep, that's fine". I'm trying to come up with a simple way to generate a random number from between (inclusive)
1 and 9223372036854775807
Should be easy right? I'm doing this and I think it's working correctly.
import random
print (random.randint(1,9223372036854775807))
My concern is that 9223372036854775807 is the upper bound of BIGINT for the SQL datatype. Does randint have an upper bound like the SQL datatype? Is there some other pythonic way I should be approaching this?