Skip to content

Instantly share code, notes, and snippets.

@plathrop
Created August 6, 2013 22:13
Show Gist options
  • Save plathrop/6169210 to your computer and use it in GitHub Desktop.
Save plathrop/6169210 to your computer and use it in GitHub Desktop.
In [9]: urlparse.urlunparse(['http', '', '/config', '', '', ''])
Out[9]: 'http:///config'
In [10]: urlparse.urlunparse(['mysql', '', '/config', '', '', ''])
Out[10]: 'mysql:/config'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment