Using Coronavirus Quarantines to Boost Your Skills
Join the DZone community and get the full member experience.Join For Free
The outbreak of coronavirus globally has had a major impact on the global economy. Many countries have gone into lockdown, and there is no industry left that hasn't felt the impact. Even the programming world is facing some major setbacks because of it. However, if we talk about individual programmers, they might also be facing social or physical problems after being in quarantine or working from home for 2 or 3 weeks. But we can turn this time in our favor by learning some new skills online. All you need is a computer and a good internet connection.
Though the programming world may not be facing too many problems, the overall IT industry is. If we look at the stats of developer hiring in the USA, in February, the hiring of developers fell by nearly 70,000, which was up 52,000 in January. This decrease in developer hiring has had a huge impact on demands on developers and affects organizational strength as well.
What a Programmer or Developer Can Do in Quarantine?
Now, this is a perfect time to learn some new skills. If your city has been lockdown or you are in quarantine, now you can use this time to upgrade your programming skills. If you are a beginner, you can learn some new intermediate programming and try something new to add valuable skills in your arsenal.
As we know, tools and technologies in the programming world are not always stable, and you always need to update your skills. A time like this may not come in your life again — and we hope it won’t — so open your computer, surf the internet, and find the best tool for yourself to learn.
Calculating the Number of People Affected by Coronavirus Worldwide
Here we will use web-scraping in Python to scrape data from worldometer, which lists out the live details of cases affected by the coronavirus.
- bs4 (beautiful soup)
urllib is a powerful open-source library for python. It contains various modules such as request, error, parse, and robot parsers, which can be used to send requests and collect data from websites.
Here in this example, we have used the urllib request method to send the HTTP request and open the URLs.
Also known as Beautiful Soup, it is used to pull out HTML and XML files. It works with your favorite parser to provide idiomatic ways of navigating, searching, and modifying the parse tree. It commonly saves programmers' hours or days of work.
install beautiful soup
Python Program to Calculate the Total Number of People Affected by the Coronavirus
Stay home, stay safe.
Do the Five
Help stop coronavirus:
- HANDS: Wash them often
- ELBOW: Cough into it
- FACE: Don't touch it
- SPACE: Keep safe distance
- HOME: Stay if you can
Published at DZone with permission of Vijay Singh Khatri. See the original article here.
Opinions expressed by DZone contributors are their own.