"Gabriel Genellina" wrote:
> You should thank Aaron Brady who wrote the original function. I just
> smoothed some edges and glued it with your own code.
Ah, Aaron Brady is castironpi... Well, thank you both then. (-:
AK
--
http://mail.python.org/mailman/listinfo/python-list
En Mon, 30 Mar 2009 17:34:32 -0300, Alia K
escribió:
Thanks Gabriel. Your solution works like a charm. (-:
You should thank Aaron Brady who wrote the original function. I just
smoothed some edges and glued it with your own code.
--
Gabriel Genellina
--
http://mail.python.org/mailman/li
Thanks Gabriel. Your solution works like a charm. (-:
AK
--
http://mail.python.org/mailman/listinfo/python-list
Alia Khouri yahoo.com> writes:
> Given the following class:
>
> class Node(object):
> def __init__(self, name, children=[], parent=None):
> self.name = name
> self.level = ''
> self.children = children
> self.parent = parent
>
> def __repr__(self):
>
Hi,
Here my problem description:
Given the following class:
class Node(object):
def __init__(self, name, children=[], parent=None):
self.name = name
self.level = ''
self.children = children
self.parent = parent
def __repr__(self):
name = self.__cl