[EMAIL PROTECTED] schrieb:
> Hi, I got confused when I learned the function datetime.today().
>
> So far I learned, unless an instance is created, it is not possible to
> call the class method. For example:
>
> class Foo:
> def foo(self):
> pass
>
> Foo.foo() # error: unbound method foo()
Hi, I got confused when I learned the function datetime.today().
So far I learned, unless an instance is created, it is not possible to
call the class method. For example:
class Foo:
def foo(self):
pass
Foo.foo() # error: unbound method foo().
What makes me confused is that datetime clas