[PYTHON] Running 2 tasks in parallel | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 1
Multiprocessing https://docs.python.org/3/library/multiprocessing.html
21st Jun 2022, 3:52 PM
Slick
Slick - avatar