Skip to content

Instantly share code, notes, and snippets.

@mactanxin
Created June 3, 2010 07:16
Show Gist options
  • Save mactanxin/423588 to your computer and use it in GitHub Desktop.
Save mactanxin/423588 to your computer and use it in GitHub Desktop.
import re
import os,sys
filename=sys.argv[1]
openfile=open(filename)
for i in openfile.readlines():
b = re.sub(r"<.*?>","",i)
print b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment