I have a file containing python\'s object as string, then i open it and doing things like i showing:
>>> file = open(\'gods.txt\') >>> file
There's only one line in that file, and you just read it. readlines returns a list of all the lines. If you want to re-read the file, you have to do file.seek(0)