On Jun 17, 2019, at 11:44 AM, johnf <[email protected]> wrote: > > Notice that the 'fwill have been automatically closed' and that is the reason > that later use of the return value 'f' is closed and can't be used. Maybe > the old 'try...finally' block should be used or maybe just use the open().
The “automatically closed” is why I switched all those calls to use the context manager format. But since that function is supposed to return the open file reference, I switched it back. -- Ed Leafe _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev Searchable Archives: https://leafe.com/archives This message: https://leafe.com/archives/byMID/[email protected]
