Python

Working with files in Python!

by Om
Posted in python on 2018-07-19

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.

by Om
Posted in python on 2018-07-17

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!

by Om
Posted in python on 2018-06-26

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.

by Om
Posted in python on 2018-06-23

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!

by Om
Posted in python on 2018-06-09

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!

by Om
Posted in python on 2018-05-22

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!

by Om
Posted in python on 2018-05-05

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.

by Om
Posted in python on 2018-04-24

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.

by Om
Posted in python on 2018-04-20

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!

by Om
Posted in python on 2018-01-07

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.