Pls What is the meaning of 'EOF error: EOF when reading line' in python?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Pls What is the meaning of 'EOF error: EOF when reading line' in python??

ERROR

31st Dec 2020, 12:45 PM
Michael Ilenikhena
2 Answers
0
An EOFError is raised when a built-in function like input() or raw_input() do not read any data before encountering the end of their input stream. The file methods like read() return an empty string at the end of the file.
31st Dec 2020, 12:53 PM
Darkwa John
Darkwa John - avatar