try/finally statement and - - with/as statement and testing error handling - filtering results from statement and interactive prompt and list comprehensions and - for missing keys with __name__ attribute for positional arguments - processes - reloading variants timing calls example truth values - - type - text editor launch options text files about - binary files and creating unicode - - version considerations _thread module threading module to converter time module about clock function homegrown timing module and perf_counter function process_time function time function timeit module about - benchmark and script - other examples repeat function setup code timestamps in source code timing calls with function decorators timing iterations alternatives for - timeit module - timsort algorithm tkinter gui toolkit about callbacks and common usage mistakes configuring python and idle and keyword arguments and lambda callbacks quit function testing reloading variants tk_library environment variable traceback module traceback objects translation (see encoding and decodingtriple quotes - true value in python booleans and - - built-in scope and operator overloading and - truncating division - try statement about - catching built-in exceptions clauses supported - debugging with default behavior wrapping statements with try/except statement about catching exceptions error handling - nesting - scopes and try/except/else statement - try/except/finally statement - - try/finally statement about closing files and server connections closing files example termination actions - - -tt command-line flag tuple built-in function tuple-unpacking assignments - tuples about - assignments and index