Skip to content

Instantly share code, notes, and snippets.

@titanous
Created February 25, 2011 21:25
Show Gist options
  • Save titanous/844524 to your computer and use it in GitHub Desktop.
Save titanous/844524 to your computer and use it in GitHub Desktop.
133a134,136
> url = re.compile("URL: (\S+)").search(msg)
> if url is not None:
> subprocess.Popen(['open', url.group(1)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment