Technology

A Simple Web Crawler or Web Scraper

  A web crawler (also known in other terms like ants, automatic indexers, bots, web spiders, web robots or web scutters) is an automated program, or script, that methodically scans or “crawls” through web pages to create an index of the data it is set to look for. This process is called Web crawling or spidering.… Continue reading A Simple Web Crawler or Web Scraper

Advertisements
Technology

Python | A simple prototype for tracking human movement

At times social networking sites, job portals and even the government need to keep a tab over the movement of the people from one place to another (or one nation to another). Governments do this analysis on a regular basis to check the rate of urbanization. Assumptions: Let's take the example of a Social Networking… Continue reading Python | A simple prototype for tracking human movement

Technology

How to import all the files from a directory using Python

      STEP 1 : Execute the following command in the folder from which you need to import files from: $ touch __init__.py Or simply create a blank file __init__.py in the folder. STEP2 : Prepare your __init__.py. The idea is to enable __init__ to know about all the files of your directory. Paste… Continue reading How to import all the files from a directory using Python