/block

Primary LanguagePython

Block

Python script to block certain websites from /etc/hosts.

hosts

sudo open -a TextEdit /etc/hosts sudo chmod 777 /etc/hosts

to run

sudo python block.py