11Ago/21

Bloqueador de sitios web con Python – Tutorialspoint.dev

  import time from datetime import datetime as dt   hosts_path = “/etc/hosts” redirect = “127.0.0.1”   website_list = [“www.facebook.com”,”facebook.com”,       “dub119.mail.live.com”,”www.dub119.mail.live.com”,       “www.gmail.com”,”gmail.com”]   while True:            if dt(dt.now().year, dt.now().month, dt.now().day,8)      <Leer más…