Skip to content

Commit 746c35d

Browse files
authored
Code cleanup
1 parent 9faa86a commit 746c35d

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

Diff for: pick-names.py

-33
Original file line numberDiff line numberDiff line change
@@ -21,36 +21,3 @@
2121
with open("uub.txt", "w") as f:
2222
for names in myNames:
2323
f.write("%s\n" % names)
24-
25-
# try:
26-
# x = names.text
27-
# print(x)
28-
# break
29-
# except Exception as err1:
30-
# pass
31-
# myNames.append(x)
32-
33-
# print(myNames)
34-
35-
# myFile = open('roster.json')
36-
# data = json.load(myFile)
37-
# myFile.close()
38-
39-
# newData = []
40-
41-
# for names in data:
42-
# if names["available"] == True:
43-
# newData.append(names)
44-
45-
# random.seed()
46-
47-
# if len(sys.argv) > 1:
48-
# if sys.argv[1] == "3":
49-
# x = random.randint(0, (len(newData) - 1))
50-
# print("Thursday: " + newData[x]["name"])
51-
52-
# x = random.randint(0, (len(newData) - 1))
53-
# print("Friday: " + newData[x]["name"])
54-
55-
# x = random.randint(0, (len(newData) - 1))
56-
# print("Saturday: " + newData[x]["name"])

0 commit comments

Comments
 (0)