+ 1

Lack of strong library in performing multi-time functions in Python !

Do we have a powerful library in Python to execute the function in asynchronous times other than Asyncio? Why in Python, we do not have a tool like Timer in C # or VB.net for time management? If there is, please help me. Suppose we want a function to run simultaneously every few seconds with other functions. This was easily done on vb.net or #C. But in Python I did not get the same answer in my research. If I am wrong, please help me. In Python, mainly because of the weakness of GIL and its interpreter, performing multiple tasks at multiple times is like implementing this task in single-processor systems. I am ready to explore the various aspects of the subject with the help of friends and offer a comprehensive and practical library.

15th Sep 2021, 8:11 PM
Hemmat
Hemmat - avatar
4 Antworten
+ 1
there are some python web frameworks that can do some what similar to asynchronous tasks , but python in general is single-threated so it can never perform async tasks as well as C# , F# here is a list of web frameworks - Tornado:Tornado isn’t a web framework fundamentally. It’s a collection of asynchronous modules, so it might be your choice -Sanic -Vibora -Quart -FastAPI wanna do async tasks in python for embedded system development? no one use python for that so no recommendation
16th Sep 2021, 4:52 PM
Nima
0
NimaPoshtiban Thanks for your answer. I'm an amateur in Python. So to continue working, I need friends like you to guide me properly. But why does Python not cover this weakness and move towards compiling ?!
16th Sep 2021, 6:48 PM
Hemmat
Hemmat - avatar
0
Every programming language has a reason behind it self for python it was’nt parallelism and Concurrency
16th Sep 2021, 7:17 PM
Nima
0
Ok. Thanks an ocean
16th Sep 2021, 7:26 PM
Hemmat
Hemmat - avatar