Skip to content

Instantly share code, notes, and snippets.

@brantfaircloth
Created July 7, 2015 15:11
Show Gist options
  • Save brantfaircloth/20c283f59d65fdb6cce2 to your computer and use it in GitHub Desktop.
Save brantfaircloth/20c283f59d65fdb6cce2 to your computer and use it in GitHub Desktop.
get random numbers from CLI
#!/usr/bin/env python
import sys
from numpy import random
print random.random_integers(1,1000000000,int(sys.argv[1]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment