在python中,并假设我在具有随机种子生成器的系统上,如何获取random.seed()来代替系统时间?(好像/ dev / urandom不存在)
import random from datetime import datetime random.seed(datetime.now())