Python Codes

Extracting Search Engine Links – Python

It could be a basic need for many data science projects to extract all the links present in the search engine results. The task can be achieved through many way including Google API’s, Scrappers etc. One simple and easy way is to use the BeautifulSoup. Following is the python code to extract all the links… Continue reading Extracting Search Engine Links – Python

General Discussions · Python Codes

Keylink Data Structure

We often encounter projects and experiments where keywords are associated to the web links. For each of those keywords present in the list, one or more links are collected to gather and process the data related to it. Keylink data structure maintains a web link to every keyword present in the list. The number of… Continue reading Keylink Data Structure

Python Codes

‘switch’ Case in Python

[Note: This tutorials is for beginners only] Once you start programming in Python, very soon you encounter with the scenario that there is no direct support of switch case. The community has various alternatives for the purpose namely, Using dictionaries Using lambdas Using Exceptions and many others! For a beginner it is faster and easier… Continue reading ‘switch’ Case in Python