You write something to a file, but then never read the file or use it. Is that intentional?
Also, the second thread might never finish, since you don't call it's
Is there a reason you're using threads at all? If they'll never run concurrently, why not just use functions?
Also, the second thread might never finish, since you don't call it's
.join()
method (it's missing parentheses).Is there a reason you're using threads at all? If they'll never run concurrently, why not just use functions?