Skip to content

Instantly share code, notes, and snippets.

@igorgue
Created June 13, 2011 15:22
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Fuck Python!
# This is 4x faster:
error = " ".join(["Unknown filename:", filename])
# Than this:
error = "Unknown filename: {0}".format(filename) # My preferred way...
# And 2x faster than this:
error = "Unknown filename: " + filename
@fitoria
Copy link

fitoria commented Jun 13, 2011

u gay

@igorgue
Copy link
Author

igorgue commented Jun 13, 2011

Python is...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment