0

[PYTHON] Running 2 tasks in parallel

I have 2 functions: RUN_BOT and RUN_APP. The first one runs my discord bot and the second one runs my Flask App. How can I run discord bot and flask app?

21st Jun 2022, 2:09 PM
Kind_Cat
Kind_Cat - avatar
1 Odpowiedź
+ 1
Multiprocessing https://docs.python.org/3/library/multiprocessing.html
21st Jun 2022, 3:52 PM
Slick
Slick - avatar