Skip to content

Commit 5bd472f

Browse files
committed
Add a missing README file
1 parent 8053136 commit 5bd472f

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

  • understanding-asynchronous-programming
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Async Programming in Python: From Generators to `asyncio`
2+
3+
This folder provides the code examples for the Real Python tutorial [Async Programming in Python: From Generators to `asyncio`](https://realpython.com/python-async-features/).
4+
5+
To run the examples, first create and activate a [virtual environment](https://realpython.com/python-virtual-environments-a-primer/). Then, install the required libraries into it:
6+
7+
```sh
8+
$ python -m venv venv/
9+
$ source venv/bin/activate
10+
(venv) $ python -m pip install -r requirements.txt
11+
```
12+
13+
The examples require Python 3.11 or later, because they use `asyncio.TaskGroup` and `asyncio.timeout()`. The `python -m asyncio pstree` command shown in the tutorial requires Python 3.14 or later.

0 commit comments

Comments
 (0)