Context Managers (the with Statement) (incomplete)

TODO

  • dependency on “variables” is for the necessary explanation on reference counting and lifetime. work that out.

  • __enter__, __exit__

  • contextlib

cluster_python Python cluster_python_basics Basics cluster_python_drafts Python Drafts python_basics_python_0150_datatypes_overview Datatypes python_basics_python_0140_variables Variables python_basics_python_0150_datatypes_overview->python_basics_python_0140_variables python_basics_python_0120_helloworld Hello World python_basics_python_0110_blahblah Blahblah python_basics_python_0120_helloworld->python_basics_python_0110_blahblah python_basics_python_0130_syntax_etc Syntax etc. python_basics_python_0130_syntax_etc->python_basics_python_0120_helloworld python_basics_python_0270_functions Functions python_basics_python_0270_functions->python_basics_python_0150_datatypes_overview python_basics_python_0270_functions->python_basics_python_0140_variables python_basics_python_0140_variables->python_basics_python_0130_syntax_etc python_drafts_closures Closures python_drafts_closures->python_basics_python_0270_functions