python BLOGS

Working with files in Python!

Here are different ways to read, write, append, check then append, a file in Python. Mostly using the Python open) function.

Using Python and BeautifulSoup to extract all the useful information from GitHub repositories.

Here we will extract the no. of stars, watch, descriptions, official url, and download links from a list of repos links using BeautifulSoup and Python. More functionality can be easily added.

Making an app/script with python to check Live Weather conditions!

API's are the core of all live and forcast Weather checking apps and websites. Here we will make a python script to check the live weather conditions of specified city using Yahoo Weather API and extract specified information from the json response.

Fetch json data about all the comic on XKCD.

XKCD provides a json file for each comic. Here is a demonstration on how to extract those data and different ways in which we can use it. You can think it as an open api.

Play Google chrome dino game with python and pyautogui!

pyautogui is a awesome module used to do many cool stuffs such as automatically playing games, pressing keys, clicking on screen and lots more. Here we use it to play google chrome dino game.

A simple BMI calculator script using python3!

A simple python script that calculates the BMI of a person using the formula kg/m2 and categorize the person as underweight, normal and overweight.

Automatically download all images from ShutterStock!

A simple python script that automates the process of downloading a large number of images from ShutterStock using BeautifulSoup and html parser.

How to download all images from pixabay using python and BeautifulSoup.

A simple python script that automates the process of downloading a large number of images from pixabay using BeautifulSoup and html parser.

Using Python and BeautifulSoup to Download all Avengers Character images.

Here is how I used Python and BeautifulSoup to write a python script which downloads all the images of Avengers character from a web page using web scrapping.

How to deal with a lazy Excel work using Python!

There are times when we have to manually go through a Excel file and extract specific information which would take hours but with python and openpyxl we will do it in seconds.