This program is used to block websites. The file in C:\Windows\System32\drivers\etc\hosts is used to block the website in a computer system. By including the website name in the website_list we can block a website(Include both "www.websitename.com" and "wesite.com"). Time can also be set so that during classes or office time some websites like facebook and so could not be browsed. Run the python program in command prompt running as admininstrator. Or run it in task scheduler and set the run time as starting of system.
shubhankar-naik / website-blocker Goto Github PK
View Code? Open in Web Editor NEWThis program is used to block websites.