Further reading
For more information, you can refer to the following links:
- Python Parallel Programming Cookbook, by Zaccone and Giancarlo, published by Packt, 2015
- Improve Your Python: the with Statement and Context Managers, Jeff Knupp (https://jeffknupp.com/blog/2016/03/07/improve-your-python-the-with-statement-and-context-managers/)
- Compound statements, Python Software Foundation (https://docs.python.org/3/reference/compound_stmts.html)