Python: Random System time seed

python, random, time

Solution

import random
from datetime import datetime
random.seed(datetime.now().timestamp())

Problem

In python, and assuming I'm on a system which has a random seed generator, how do I get random.seed() to use system time instead? (As if /dev/urandom did not exist)

Original source