Jul-28-2017, 10:08 PM
After the with statement (next line), the 4 white space indentation is missing.
with open(filename, 'w') as jout: # code inside the context manager # code outside the context manager # the context manager is closing the file automatically when # leaving the context block # is also called, when the program gets an KeyboardInterrupt
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!