Module ImportFrom alias alias FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad BinOpAdd BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpSub NameLoad NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod AttributeLoad NameLoad attr Num Assign NameStore BinOpMult Call AttributeLoad AttributeLoad NameLoad attr attr BinOpDiv NameLoad BinOpMult Num AttributeLoad AttributeLoad NameLoad attr attr Num If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr Return BinOpSub NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore ListComp Call NameLoad Num Num comprehension NameStore Call NameLoad NameLoad orelse Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMult Num Call NameLoad NameLoad NameLoad Return Call NameLoad NameLoad decorator_list ClassDef bases body Expr Str Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareLtE NameLoad Num body Raise Call NameLoad Str If CompareNotEq NameLoad Call NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore BinOpFloorDiv BinOpAdd NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str Return BinOpRShift NameLoad BinOpSub BinOpMult NameLoad Num NameLoad decorator_list decorator_list
N/A browser window alert _randint N/A N/A a b N/A N/A N/A N/A int N/A N/A N/A N/A N/A window Math random N/A N/A b a 1 a N/A _rand_with_seed N/A N/A x rand_obj N/A N/A N/A degrees N/A N/A rand_obj _state 360 N/A x N/A N/A N/A N/A window Math sin N/A degrees N/A 2 N/A N/A window Math PI 10000 N/A N/A N/A hasattr rand_obj incr N/A N/A N/A rand_obj incr 1 N/A N/A rand_obj _state N/A rand_obj incr N/A N/A x N/A N/A N/A window Math floor x N/A _urandom N/A N/A n rand_obj N/A None N/A N/A urandom(n) -> str    
    Return n random bytes suitable for cryptographic use. N/A N/A N/A rand_obj None N/A N/A rand_obj _state None N/A N/A randbytes N/A N/A _randint 0 255 N/A i N/A range n N/A N/A randbytes N/A N/A i N/A range n N/A N/A N/A N/A randbytes append N/A int N/A 256 N/A _rand_with_seed i rand_obj N/A N/A bytes randbytes N/A Random N/A N/A N/A Random number generator base class used by bound module functions.

    Used to instantiate instances of Random to get generators that don't
    share state.

    Class Random can also be subclassed if you want to use a different basic
    generator of your own devising: in that case, override the following
    methods:  random(), seed(), getstate(), and setstate().
    Optionally, implement a getrandbits() method so that randrange()
    can cover arbitrarily large ranges.

     N/A VERSION 3 __init__ N/A N/A self x N/A None N/A N/A Initialize an instance.

        Optional argument x controls seeding, as for Random.seed().
         N/A N/A self _state x N/A seed N/A N/A self a version N/A None 2 N/A N/A Initialize internal state from hashable object.

        None or no argument seeds from current time or from an operating
        system specific randomness source if available.

        For version 2 (the default), all of the bits are used if *a* is a str,
        bytes, or bytearray.  For version 1, the hash() of *a* is used instead.

        If *a* is an int, all bits are used.

         N/A N/A self _state a N/A N/A self gauss_next None N/A getstate N/A N/A self N/A N/A N/A Return internal state; can be passed to setstate() later. N/A N/A self _state N/A setstate N/A N/A self state N/A N/A N/A Restore internal state from object returned by getstate(). N/A N/A self _state state N/A random N/A N/A self N/A N/A N/A Get the next random number in the range [0.0, 1.0). N/A N/A N/A N/A window Math random N/A getrandbits N/A N/A self k N/A N/A N/A getrandbits(k) -> x.  Generates a long int with k random bits. N/A N/A k 0 N/A N/A N/A ValueError number of bits must be greater than zero N/A N/A k N/A int k N/A N/A N/A TypeError number of bits should be an integer N/A numbytes N/A N/A k 7 8 N/A x N/A N/A int from_bytes N/A _urandom numbytes self big N/A N/A x N/A N/A numbytes 8 k N/A N/A