An Introduction to Asynchronous Programming in Python 3
<p>Python is considered one of the easiest languages to learn. The Python approach to asynchronous code, on the other hand, can be quite confusing. This article will walk through key concepts and examples of async Python code to make it more approachable.</p>
<p>In particular, you should take away the following:</p>
<ol>
<li>Core vocabulary of async programming</li>
<li>When an asynchronous approach makes sense</li>
<li>The basics of async code in Python 3</li>
<li>Useful resources for further investigation</li>
</ol>
<p>Let’s get started!</p>
<h1>What is asynchronous programming?</h1>
<p>Asynchronous programs execute operations in parallel <em>without blocking the main process</em>. That’s a mouthful, but all it means is this: async code is a way to make sure your program doesn’t needlessly spend time waiting when it could be doing other work.</p>
<p>If you’ve read anything about async programming before, you’ve probably heard the chess example a dozen times (a master chess player playing a tournament one game at time, versus all the games at once). While this is classically helpful at illustrating the concept, cooking food provides a more relatable metaphor with some spicier details you should keep in mind.</p>
<p><a href="https://betterprogramming.pub/an-intro-to-asynchronous-programming-in-python-3-7cfa9173234">Read More</a></p>