SyntaxFix
Write A Post
Hire A Developer
Questions
simply don't close in
remove in.close() from your code.
in.close()