Skip to content

moyakub/python-practice

Repository files navigation

python-practice

Initial Installation

  1. Make sure you have python3 and pip installed on your machine.
    1. python3 --version
    2. pip --version
  2. Downlaod the folder
  3. Run python3 -m venv <virtual env folder name>
  4. Run source <virtual env folder name>/bin/activate
  5. You should see (venv) in the termial which proves that virtual env is activated successfully.
  6. Run pip install -r requirements.txt

Print Covid Cases on console/terminal

  1. Run python3 covid-stats.py

Extract text from a web image

  1. Change value for read_image_url inside azure-cognitive-service.py
  2. Run azure-cognitive-service.py

Packages used

  1. covid-stats (to get covid stats)
  2. colorama (to print text with colors in terminal)
  3. requests (to call apis)
  4. load_dotenv (to access variables from environment file)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages