Kris Caselden wrote: > > I'm sure this is a simple newbie problem, but I can't figure it out > for the life of me. > > The code: > import sys, os > input = open("example.py","r") > > Gives me the error: > TypeError: an integer is required Always post the actual code, and the *full* traceback, and don't just retype it: cut and paste.