EOFError: Ran out of input
When I run the code below I get this error message “EOFError: Ran out of input” what does it mean?? How it can be corrected?? and how to output the records details on the screen.
When I run the code below I get this error message “EOFError: Ran out of input” what does it mean?? How it can be corrected?? and how to output the records details on the screen.
I would check that the file is not empty first: Also open(target, ‘a’).close() is doing nothing in your code and you don’t need to use ;.
I´m trying to save and load objects using pickle module.First I declare my objects: After that I open a file called ‘Fruits.obj'(previously I created a new .txt file and I renamed ‘Fruits.obj’): After do this I close my session and I began a new one and I put the next (trying to access to the … Read more