Kermit have you actually bothered going through any tutorials? You just seem to be asking every time you get an error, I know the list is here for people to ask questions but you really should try and work some things out for yourself.

Traceback (most recent call last):
  File "<pyshell#8>", line 1, in -toplevel-
    v = transfac(v)
  File "c:\math\factoring\factor30.py", line 46, in transfac
    a,b,c,d,m,n = a,b.c+a*t,d-b*t,m+t,n
AttributeError: 'int' object has no attribute 'c'


Your problem here is that you have b.c instead of what I presume should be a comma. b.c means that it's trying to find the method c of the integer b which doesn't exist.

 
Thank you very much.
 
 
Actually, I have been working things out myself.  The many questions I've sent you are only a fraction of the
problems I've encountered while developing this program.
 
The tutorials are helpful only if I know what to look for.
 
For this particular error message,  I had no clue that "has no attribute" is a hint that a period is typed where
it should not  be.
 
Now I know how to interpret that particular error message should it occur in the future.
 
I had looked the code over.  I knew to look on that line,   but was totally baffled because I could not distinguish the
comma from the period.
 
Kermit   <     [EMAIL PROTECTED]    >
 
 
 
 
 
 
 
 
 
 
 
 
 
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to