Newbie pythoner, with bizzare problem

Wayne Izatt wayne.izatt at myself.com
Sat Jul 22 02:09:17 EDT 2000


Just a guess, since I don't know much about Windows, but isn't the '/' meant
to be a '\'?

cheers

Jack wrote:

> Hey there,
>
> im pretty new to using python, and im just experimenting with file access,
> a wrote a script that works fine, and then all of a sudden it started
> throwing up this error:
>
> inp = open("c:/autoexec.bat",'r')
> TypeError: illegal argument type for built-in operation
>
> it was working fine before, and i dont see anything unusual in the syntax.
>
> Any help would be appreciated,
>
> Cheers,
>
> Jack Green




More information about the Python-list mailing list