Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.05 KB

File metadata and controls

26 lines (15 loc) · 1.05 KB

Website Blocker

A Python Script used for blocking websites by making the use of the hosts' file.

Requirements

  • Python 3.0
  • Pip

Steps to be followed for blocking list of websites

  1. Find the hosts file in your Operating System

hosts

NOTE - The location of the hosts file may be different for different Operating Systems. Window Users should create a copy of the hosts file mentioned above.

  1. Write this Python Script for website blocking

carbon

  1. Run the above Python Script as an Administrator

++

  1. Woah! The websites you listed are BLOCKED!

Websiteblocked