Skip to content

Instantly share code, notes, and snippets.

@acrymble
Created June 30, 2011 12:56
Show Gist options
  • Save acrymble/1056177 to your computer and use it in GitHub Desktop.
Save acrymble/1056177 to your computer and use it in GitHub Desktop.
obo.py
# obo.py
def stripTags(pageContents):
startLoc = pageContents.find("<hr/><h2>")
pageContents = pageContents[startLoc:]
return pageContents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment