Skip to content

Instantly share code, notes, and snippets.

@lucky
Created September 16, 2010 22:15
Show Gist options
  • Save lucky/583267 to your computer and use it in GitHub Desktop.
Save lucky/583267 to your computer and use it in GitHub Desktop.
>>> urlparse("beanstalk://localhost/somequeue", scheme='beanstalk')
ParseResult(scheme='beanstalk', netloc='', path='//localhost/somequeue', params='', query='', fragment='')
>>> urlparse("http://localhost/somequeue")
ParseResult(scheme='http', netloc='localhost', path='/somequeue', params='', query='', fragment='')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment