I am having problem in my library project

I was having a library management system with sqlite3 data base and it was having all functions except student adding and validation of it when issuing book to him so I made a CSV file using notepad and made function for adding student searching it and as on searching it selects student and evokes combo box for deleting and updating student rest of everything is OK but update student function is not updating data in CSV file

You haven’t provided any code, so I’m guessing that you’re reading the data in but not writing it out.

Please share the code. I know it comes off as rude / condescending when people say this, but I feel like we may have an XY problem here.