0

For example: there are two buttons A and B in the window. The function of button A is to calculate the sum of the numbers between 1 and 1000000 when clicked. The function of button B is to terminate the calculation immediately after being clicked.

yuwan
  • 26
  • 3
  • Does this answer your question? [Python threading interrupt sleep](https://stackoverflow.com/questions/38828578/python-threading-interrupt-sleep) – Jan Wilamowski Jan 19 '22 at 07:53

0 Answers0