another problem..

2009-12-16 Thread codefly
now.. another problem.. when i type me = code2() the error is here.. Traceback (most recent call last): File "", line 1, in TypeError: 'module' object is not callable -- http://mail.python.org/mailman/listinfo/python-list

Re: i re-write it

2009-12-16 Thread codefly
On Dec 17, 12:43 am, "Diez B. Roggisch" wrote: > codefly wrote: > > error message is here.. > > when i type import code2 > > > Traceback (most recent call last): > >   File "", line 1, in > >   File "code2.py", line 11 >

Re: i re-write it

2009-12-16 Thread codefly
On Dec 17, 12:43 am, "Diez B. Roggisch" wrote: > codefly wrote: > > error message is here.. > > when i type import code2 > > > Traceback (most recent call last): > >   File "", line 1, in > >   File "code2.py", line 11 >

i re-write it

2009-12-16 Thread codefly
error message is here.. when i type import code2 Traceback (most recent call last): File "", line 1, in File "code2.py", line 11 ~ ^ SyntaxError: invalid syntax and source code is here class codefly: def WaitFreecatz(self, hou

Re: basic grammer error..

2009-12-16 Thread codefly
On 12월17일, 오전12시23분, "Diez B. Roggisch" wrote: > codefly wrote: > > class codefly: > > > def WaitFreecatz(self, hours): > > hours = self.hours > > i = 1 > > while i < hours: > > print 'i wai

basic grammer error..

2009-12-16 Thread codefly
class codefly: def WaitFreecatz(self, hours): hours = self.hours i = 1 while i < hours: print 'i wait %s hours' %(i) i = i+1 if i == hours: print '\nhe never comes' run error//