On 15 avr, 17:43, Robert Bossy <[EMAIL PROTECTED]> wrote:
> Reckoner wrote:
> > would it be possible to use one of an object's methods without
> > initializing the object?
>
> > In other words, if I have:
>
> > class Test:
> > def __init__(self):
> > print 'init'
> > def foo(self):
> >
Reckoner wrote:
> would it be possible to use one of an object's methods without
> initializing the object?
>
> In other words, if I have:
>
> class Test:
> def __init__(self):
> print 'init'
> def foo(self):
> print 'foo'
>
> and I want to use the foo function without hitting the
>
On 15 avr, 17:27, Reckoner <[EMAIL PROTECTED]> wrote:
> would it be possible to use one of an object's methods without
> initializing the object?
>
> In other words, if I have:
>
> class Test:
> def __init__(self):
> print 'init'
> def foo(self):
> print 'foo'
>
> and I want to use
would it be possible to use one of an object's methods without
initializing the object?
In other words, if I have:
class Test:
def __init__(self):
print 'init'
def foo(self):
print 'foo'
and I want to use the foo function without hitting the
initialize constructor function.
Is t