Add random choice script
This commit is contained in:
parent
3be6a9a4f3
commit
92c765952e
6
dotfiles/lib/bin/random_choice.py
Executable file
6
dotfiles/lib/bin/random_choice.py
Executable file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
|
||||
import random
|
||||
print sys.argv[1:]
|
||||
print random.choice(sys.argv[1:])
|
Loading…
Reference in New Issue
Block a user