pythonreference.com
search statements, functions, methods, exceptions*
hide categories'for' with a file | iterate over each string line in a file |
'for' with a list, tuple or set | iterate over each item in a container |
'in' membership test with strings or containers | search for an item in a string or container |
len() with a list, tuple or set | return integer length of a list, tuple or set |
open() | construct a file object |
slice with a string | slice a string by index (character position) |
str.join() | join a list of strings into a string |
str.rstrip() | remove "whitespace" or other characters from right side of string |
str.split() | divide a string into a list of strings |
subscript with a list or tuple | select an item from a list or tuple |