-
11k0Use PDFWriter with context manager supportPython / contextmanager, context_manager, pdf, python, reportlab, with_statement, xtopdf / by Vasudev Ram (10 years ago)
-
10k5Wrap any iterable context manager so it closes when consumedPython / contextmanager, context_manager, generator, iterable, iterator, with_statement / by Andrew Barnert (11 years ago)
-
18k1ChangeDirectory context managerPython / change, chdir, context_manager, directory / by Christophe Simonis (15 years ago, revision 2)