Skip to content

This Python script blocks the websites you choose to, and also in the desired time interval (or Working Hours)

License

Notifications You must be signed in to change notification settings

msindev/Website-Blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website Blocker

This Python script blocks the websites written in the website_list.txt files during the given working hours. Make sure the python script and website_list.txt are in same folder.

To execute this program on a daily basis, you can use Task Scheduler in Windows, or cron in LINUX to start the script automatically at startup and execute the program.

It is a pyw file and not py file, so make sure you use pythonw.exe to run the script in background, which wouldn't show any command prompt or terminal output. Use python.exe to see the output on command prompt and terminal.

To edit the websites which have to be blocked, add or delete the website name in the fie website_list.txt

About

This Python script blocks the websites you choose to, and also in the desired time interval (or Working Hours)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages