1ValueError: I/O operation on closed file.
2
3The Above error may ossour because,
4you are writing to the file When it is closed
5** To Solve this error **
6 >>> Make sure that your file.write statement is in the
7 >>> 'with open('textFile.txt', 'w') as textFile:'