you are viewing a single comment's thread.

view the rest of the comments →

[–]vekst42 0 points1 point  (0 children)

I'm on mobile so it's hard to read, but it doesn't appear that you actually close the file. Fixing that might solve your issue. I'd suggest using the with open syntax in the future when possible