Skip to content

Instantly share code, notes, and snippets.

View ilikepi's full-sized avatar

James Blanding ilikepi

View GitHub Profile
import re
p = re.compile("\(\(([^()]+)\)\)")
file_path = str(raw_input('File Name >'))
orig_text = open(file_path).read()
new_text = ""
footnoteMatches = p.finditer(orig_text)
coordinates = []