On 05/09/06, Magnus Wirström <[EMAIL PROTECTED]> wrote:
> When i'm executing it i get this error (runtime)
>
> Traceback (most recent call last):
>  File "C:\python\boa\backup\backupwin.py", line 135, in OnStartaButton
>    config = open("backup.conf", "r")
> TypeError: an integer is required

Looks like you're redefining 'open' somewhere.  Look through your
code; do you have anything like:

    def open(...):

or

    open =

or

    from ... import open

or

    from ... import *

?

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to