Get the latest tech news
Python Modern Practices
Good development practices for modern Python
In most cases, you should package an application in a format that enables you to include your code, the dependencies and a copy of the required version of Python. The built-in print() statement is convenient for adding debugging information, but you should include logging in your scripts and applications. Version 3.7 of Python introduced context variables, which enable you to have data that is local to a specific task, as well as the asyncio.run() function.
Or read this on Hacker News