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
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
>
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
>
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
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
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//