diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-03-24 22:36:59 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-03-24 22:38:28 -0400 |
commit | bb0ba4fcb45bc08409657e05e7951a364f6a2e53 (patch) | |
tree | 7e06155f7b0ed9bd51b276c821462794bca36e4e /snippets/python-mode/numpy-random-seed | |
parent | d3499573ef817ce737f924f4641dade14e6233fd (diff) | |
download | emacs.d-bb0ba4fcb45bc08409657e05e7951a364f6a2e53.tar.gz |
Reorganize and add Python snippets
Diffstat (limited to 'snippets/python-mode/numpy-random-seed')
-rw-r--r-- | snippets/python-mode/numpy-random-seed | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/snippets/python-mode/numpy-random-seed b/snippets/python-mode/numpy-random-seed new file mode 100644 index 0000000..1be05ec --- /dev/null +++ b/snippets/python-mode/numpy-random-seed @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: numpy random seed +# key: nrs +# -- +np.random.seed(`(random most-positive-fixnum)`) +$0 |