Skip to main content

Posts

Showing posts with the label covid

Fetch COVID-19 Report Using Python

To know the statistics of a pandemic disease COVID-19, python has a module named "covid". It extracts information about all the countries affected by this deadly disease. The information was provided by John Hopkins by default and worldometers to get specific content. It mainly works on python versions above 3.5. Installation To use the covid module, first, install it using,           pip install covid Source Selection covid module use john hopkins source by default. To select source as john hopkins, use ,           covid or           covid -s john_hopkins in command line. where -s indicates source. To select source as worldometers, use           covid -s worldometers Report on all the countries affected To get the list of all the countries affected, use covid -s worldometers --list-countries On specifying this code, the output will be, List of all countries aff...