Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import urllib
import re
from subprocess import call
for line in fp:
matchObj = re.match( r'.*\((.*.pdf)\)', line)
if matchObj:
print f
call(["wget", f])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment