demo_ref_random_setstate.py:
➜ begtut>python demo_random_setstate.py
0.6731178120498394
0.5642272440431916
0.5642272440431916