Updated README.
This commit is contained in:
2
main.py
2
main.py
@@ -19,6 +19,7 @@ def main():
|
||||
print("Invalid iterations value.")
|
||||
sys.exit(1)
|
||||
|
||||
# todo this does not run because of the above check
|
||||
if int(sys.argv[3]) == 0:
|
||||
iterations = 3
|
||||
else:
|
||||
@@ -28,6 +29,7 @@ def main():
|
||||
seed_values: list[int] = []
|
||||
|
||||
if sys.argv[2] == "e":
|
||||
# TODO allow flag to specify a file vs. always creating a new one
|
||||
with open("seeds.txt", "w") as f:
|
||||
for iteration in range(0, iterations):
|
||||
random.seed(time.time())
|
||||
|
||||
Reference in New Issue
Block a user