Skip to content

Instantly share code, notes, and snippets.

@Telltak
Created September 1, 2011 19:35
Show Gist options
  • Save Telltak/1187053 to your computer and use it in GitHub Desktop.
Save Telltak/1187053 to your computer and use it in GitHub Desktop.
print "Format Characters:"
print "d OR i: int"
print "o: octal"
print "x: lowercase hex"
print "X: uppercase hex"
print "f OR F: float"
print "c: single char"
print "r: String (using repr())"
print "s: String (using str())"
print "%: just the % char."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment