Python Read Write File Error Valueerror I O Operation On Closed File

Python Read Write File Error Valueerror I O Operation On Closed File