-
11kviews0Use PDFWriter with context manager supportscorePython / contextmanager, context_manager, pdf, python, reportlab, with_statement, xtopdf / by Vasudev Ram (10 years ago)
-
10kviews5Wrap any iterable context manager so it closes when consumedscorePython / contextmanager, context_manager, generator, iterable, iterator, with_statement / by Andrew Barnert (11 years ago)