Skip to content

Instantly share code, notes, and snippets.

@af1
af1 / downtime.py
Created July 16, 2020 13:20 — forked from waleedahmad/downtime.py
Python script to monitor your internet down time
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import os
import csv
import sys
import time
import socket
import datetime