> > log = foo.log(x, y, z)
> >

Resulting line is:
log = foo.log(x, y, z)
global log

Making the instance "log" global makes it accessible to all the
functions.

Now I have only one question, Is this a correct way to do it ? Or are
there better way ?

Ritesh

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to