I have two scripts. One of them checks out an online database and the other one checks a telegram bot. Both of them run in loop, but they take some time to check the updates, so I'd like to run them separately. Can I do that?
Asked
Active
Viewed 260 times
-4
-
3Duplicate of [How can I use threading in Python?](https://stackoverflow.com/questions/2846653/how-can-i-use-threading-in-python) – esqew Dec 18 '21 at 22:12
-
yes you can, you can either start both script manually for separate or you can run the both with any of the concurrent mechanism available such a threads of multiprocesses – Copperfield Dec 18 '21 at 22:31