On Mon, Dec 14, 2015 at 4:53 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> > Except that catching an exception just to immediately re-raise it is > silly. This would be better: > > try: > name = handle.name > except AttributeError: > pass > else: > handle.write("# Report_file: %s\n" % name) Ya that would be silly. Thanks everyone for the education. -- https://mail.python.org/mailman/listinfo/python-list