Skip to content

Instantly share code, notes, and snippets.

@lambdamusic
Created February 7, 2013 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lambdamusic/4734345 to your computer and use it in GitHub Desktop.
Save lambdamusic/4734345 to your computer and use it in GitHub Desktop.
Python: joning lists
return ";".join(["%s=%s" % (k, v) for k, v in params.items()])
# or
x = range(100)
print ";".join(["%s"%(f) for f in x])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment