<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Development on Sreevardhan Reddy — Software Developer</title><link>https://sreevardhanreddi.github.io/categories/development/</link><description>Recent content in Development on Sreevardhan Reddy — Software Developer</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sat, 15 Aug 2020 15:06:51 +0530</lastBuildDate><atom:link href="https://sreevardhanreddi.github.io/categories/development/index.xml" rel="self" type="application/rss+xml"/><item><title>Concurrency in Python</title><link>https://sreevardhanreddi.github.io/blogs/concurrency-in-python/</link><pubDate>Sat, 15 Aug 2020 15:06:51 +0530</pubDate><guid>https://sreevardhanreddi.github.io/blogs/concurrency-in-python/</guid><description>Concurrency is the ability of different parts or units of a program, algorithm, or problem to be executed out-of-order or in a partial order, without affecting the final outcome. This allows for parallel execution of the concurrent units, which can significantly improve the overall speed of the execution.
Let&amp;rsquo;s look at an example code, which is not concurrent.
import requests urls = [ &amp;#34;https://docs.python.org/3/&amp;#34;, &amp;#34;https://github.com/trending/&amp;#34;, &amp;#34;https://www.youtube.com/feed/trending/&amp;#34;, &amp;#34;https://stackoverflow.com/questions/&amp;#34;, &amp;#34;https://docs.djangoproject.com/en/3.0/&amp;#34;, &amp;#34;https://requests.readthedocs.io/en/master/&amp;#34;, &amp;#34;https://docs.</description></item></channel></rss>