tag:blogger.com,1999:blog-6692866151143183230.post6520151800526894429..comments2024-03-19T16:22:18.277+05:30Comments on jugad2 - Vasudev Ram on software innovation: Code for recent post about PDF from a Python pipelineVasudev Ramhttp://www.blogger.com/profile/13568740634188042591noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6692866151143183230.post-35644244261779926482016-01-08T02:16:19.798+05:302016-01-08T02:16:19.798+05:30Oops, error in gen-file.py.
fil.close()
should ...Oops, error in gen-file.py. <br /><br />fil.close()<br /><br />should not be there, because the with statement (context manager) will close the file after the body of the with finishes running.<br />Vasudev Ramhttps://www.blogger.com/profile/13568740634188042591noreply@blogger.com