Forwarded from Python/ django
https://tenthousandmeters.com/blog/python-behind-the-scenes-12-how-asyncawait-works-in-python/
#asyncio #threads #coroutines
#asyncio #threads #coroutines
Tenthousandmeters
Python behind the scenes #12: how async/await works in Python
Mark functions as async. Call them with await. All of a sudden, your program becomes asynchronous – it can do useful things while it waits for...
2 статьи о сессиях sqlalchemy и celery\gunicorn workers
https://www.yangster.ca/post/not-the-same-pre-fork-worker-model/
https://davidcaron.dev/sqlalchemy-multiple-threads-and-processes/
#sqlalchemy #threads #gunicorn #celery
https://www.yangster.ca/post/not-the-same-pre-fork-worker-model/
https://davidcaron.dev/sqlalchemy-multiple-threads-and-processes/
#sqlalchemy #threads #gunicorn #celery
Yangster
Not The Same Pre-fork Worker Model
Running into bugs when forking at the wrong time
https://realpython.com/advanced-visual-studio-code-python/ - подробная статья о настройке vscode для использования с python
#vscode #debugging #ide
#vscode #debugging #ide
Realpython
Advanced Visual Studio Code for Python Developers – Real Python
In this tutorial, you'll learn how you can configure, extend, and optimize Visual Studio Code for a more effective and productive Python development environment. By digging into this customizable code editor and IDE, you'll put yourself on track to be a VS…