Skip to content

Instantly share code, notes, and snippets.

@vignesh-m
vignesh-m / run_tests.py
Last active March 21, 2017 09:37
networks lab wget
import os
import re
def stats(url):
os.system('wget ' + url + ' -o logfile')
s = open('logfile', 'r').read()
def speed(s):
a = re.findall('\(.*/s\)', s)