diff --git a/dotfiles/lib/bin/random_choice.py b/dotfiles/lib/bin/random_choice.py new file mode 100755 index 00000000..b6a10dc2 --- /dev/null +++ b/dotfiles/lib/bin/random_choice.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python +import sys + +import random +print sys.argv[1:] +print random.choice(sys.argv[1:])