20200217 01:04:35 +0200  received badge  ● Famous Question (source) 
20190714 00:20:02 +0200  received badge  ● Notable Question (source) 
20190714 00:20:02 +0200  received badge  ● Popular Question (source) 
20190313 15:31:14 +0200  received badge  ● Famous Question (source) 
20180203 19:28:10 +0200  asked a question  Uniform random choice of integer I want to perform some statistical sampling and to do this I need to uniformly randomly choose an integer from [0, N) where $N \approx 10^{50}$. It appears that there are several plausible ways to do this in Sage: 1) randint(0, N1) However, the standard Python random library appears to have some nonuniformity, for example see this ticket. 2) import numpy; numpy.random.randint(0, N) However, since N is so large, this raises 3) ZZ.random_element(0, N)

20161121 15:16:22 +0200  received badge  ● Student (source) 
20161121 15:15:27 +0200  received badge  ● Notable Question (source) 
20161121 15:15:27 +0200  received badge  ● Popular Question (source) 
20150916 23:22:37 +0200  received badge  ● Scholar (source) 
20150916 21:48:17 +0200  received badge  ● Editor (source) 
20150916 21:47:01 +0200  asked a question  load a graph from a dot file Sage allows me to get the representation of a Graph, G, in the dot language by using the method I can even have this string written directly to a file by using: Is there a way of reloading G from such a file? I tried doing
Where the contents of 'my_graph_file.dot' are:
But none of these worked. 