Created
August 1, 2012 03:07
-
-
Save suresk/3223267 to your computer and use it in GitHub Desktop.
FF Draft Order
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import sys | |
if (len(sys.argv) > 1): | |
list = open(sys.argv[1]).readlines() | |
random.shuffle(list) | |
for team in list: | |
print team.strip() | |
else: | |
print("You need to specify the file name.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment