New course! Every coder should learn Generative AI!
Try a free lesson0
how do you close inmediately a file?
how can you close a file while python is reading? i assume that once is completely readed the file will close...
1 Answer
+ 3
yourfile.close()