Created
February 8, 2013 03:54
-
-
Save matschaffer/4736483 to your computer and use it in GitHub Desktop.
This file contains 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 sys | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import csv | |
with open('names.csv', 'rb') as csvfile: | |
csvreader = csv.reader(csvfile) | |
people = [] | |
for row in csvreader: | |
people.append(row) | |
x = np.random.permutation(np.arange(0, len(people))) | |
i = 0 | |
while i < len(x): | |
sys.stdin.read(1) | |
print people[x[i]] | |
i += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment