[PYTHON] Running 2 tasks in parallel | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answer
+ 1
Multiprocessing https://docs.python.org/3/library/multiprocessing.html
21st Jun 2022, 3:52 PM
Slick
Slick - avatar