summaryrefslogtreecommitdiff
path: root/snippets/python-mode/numpy-random-seed
blob: 1be05ece33ec954689e4b098ca0436eaf95db6d9 (plain)
1
2
3
4
5
6
# -*- mode: snippet -*-
# name: numpy random seed
# key: nrs
# --
np.random.seed(`(random most-positive-fixnum)`)
$0