20200216 18:04:35 0600  received badge  ● Famous Question (source) 
20190713 17:20:02 0600  received badge  ● Notable Question (source) 
20190713 17:20:02 0600  received badge  ● Popular Question (source) 
20190313 09:31:14 0600  received badge  ● Famous Question (source) 
20180203 12:28:10 0600  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 08:16:22 0600  received badge  ● Student (source) 
20161121 08:15:27 0600  received badge  ● Notable Question (source) 
20161121 08:15:27 0600  received badge  ● Popular Question (source) 
20150916 16:22:37 0600  received badge  ● Scholar (source) 
20150916 14:48:17 0600  received badge  ● Editor (source) 
20150916 14:47:01 0600  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. 