RE: Python Selenium Help 02-10-2021, 06:49 PM
#4
You don't have to use sleep if you have some sort of loop you can put the try and except in. Each iteration of the loop it will try to delete the file and if the file does not exist it will do nothing
Code:
 _______        _  _________
 \    \       | | /     /
 |    | _____  ____| | |  ____/ _____  _____  _____  _____
 |  |  |/  _  \/    | \____  |/   \/   \/  ___\/  _  \
 |    |   __/|  |  |/     |  |  |  |  \  \__ |  __/
 /_______/\_____/\____|_/________/|  ____/\_____|_\____/\_____/
                 | |
                 |_/
           Â
BTC Address:Â bc1qds8uqnt4ga0zn9ftrm45cq9u9hfct0qluqes5a
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)