Welcome to the blog

remove old files using python
Python Snippets
Prathamesh Sakhadeo

Remove old files using Python

One of the biggest headache computer users have is that their disk contains a lot of old and unused files. We download a lot of files from internet be it zip files or pdf files. And we are quite lazy to search old files and delete them. This python script intends to speed up this quite boring task. We will accept 3 inputs from the user.

Read More »
quotes
Python Snippets
Prathamesh Sakhadeo

Scrape quotes using BeautifulSoup and then analyse the words

In this article, we will scrape quotes using BeautifulSoup on http://quotes.toscrape.com/. This website is used in the tutorial for Scrapy. Scrapy is a web scraping framework, whereas BeautifulSoup is a library for web scraping. Scrapy is comprehensive than BeautifulSoup.

Read More »
authenticating linkedin
Python Snippets
Prathamesh Sakhadeo

Authenticating LinkedIn with OAuth 2.0 using CherryPy

LinkedIn is a popular social media platform for professionals. Using their API, we can fetch data from LinkedIn and use for a purpose like logging in using LinkedIn, fetching profile details etc. In this code, we will look at how we can authenticate ourselves so that we can fetch the data from LinkedIn. For this purpose, LinkedIn relies on OAuth 2.0 protocol for granting access. Documentation for this can be found out here.

Read More »
sorting algorithms
Python Snippets
Prathamesh Sakhadeo

Evaluate performance of sorting algorithms

Sorting algorithm are aplenty with different time and space complexities. In your textbooks you will find that this algorithm has time complexity of O(n2), that algorithm has time complexity of O(n), but how you will prove it experimentally?

Read More »

Enter the details