Weird Problem

Peter Hansen peter at
Thu Aug 21 17:10:28 CEST 2003

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("","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.

More information about the Python-list mailing list