Strings
' ' and " " are the same
chr(ord('a')+1)
to add one to 'a' and get 'b'Python 3 has strings be unicode, 2 byte character
Formatting
Python 3 handles {} others need {0}
Returns a single string with {} replaced
r"..." = raw
still string, but treats backslashes as literals instead of escape characters
u"...." = Unicode
Check proper
Get lists
Other
Last updated