New course! Every coder should learn Generative AI!
Try a free lesson0
Can we reset buffer of read method without re-open the file?
how you go to start of the file and start reading again?
1 Answer
0
you can use the seek() method
how you go to start of the file and start reading again?