Top "Eof" questions

End of file (commonly abbreviated EOF) is a condition in a computer operating system where no more data can be read from a data source.

SyntaxError: unexpected EOF while parsing

I am getting error while running this part of the code. tried some of the existing solutions, none of them …

python python-3.x python-3.6 eof lint
Python unexpected EOF while parsing

Here's my python code. Could someone show me what's wrong with it. while 1: date=input("Example: March 21 | What is the …

python eof python-2.x
How to find out whether a file is at its `eof`?

fp = open("a.txt") #do many things with fp c = fp.read() if c is None: print 'fp is at …

python file eof
End of File (EOF) in C

I am currently reading the book C Programming Language by Ritchie & Kernighan. And I am pretty confused about the …

c eof
What is the perfect counterpart in Python for "while not EOF"

To read some text file, in C or Pascal, I always use the following snippets to read the data until …

python file iteration eof
How to use EOF to run through a text file in C?

I have a text file that has strings on each line. I want to increment a number for each line …

c file eof
Why is “while ( !feof (file) )” always wrong?

I've seen people trying to read files like this in a lot of posts lately: #include <stdio.h> #…

c file while-loop eof feof
PHP using Gettext inside <<<EOF string

I use PHP's EOF string to format HTML content without the hassle of having to escape quotes etc. How can …

php gettext eof
What is EOF in the C programming language?

How do you get to see the last print? In other words what to put in for EOF? I checked …

c input eof
How do you read scanf until EOF in C?

I have this but once it reaches the supposed EOF it just repeats the loop and scanf again. int main(…

c scanf eof