Sorry - previous reply was sent empty.

So, you probably can do with `asyncio.run`:
```
In [26]: import asyncio

In [27]: asyncio.run(asyncio.sleep(2))
```
https://docs.python.org/3/library/asyncio-task.html#asyncio.run

On Wed, 24 Mar 2021 at 06:44, <redradist@gmail.com> wrote:
It is not the same, it will work in interactive mode .... But I want to run application without interactive mode
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/O4ME7K7ZVXULFBLAVTP3CTKLXI6O4R65/
Code of Conduct: http://python.org/psf/codeofconduct/