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 =
Alia Khouri alia_khouri at 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):
Thanks Gabriel. Your solution works like a charm. (-:
AK
--
http://mail.python.org/mailman/listinfo/python-list
En Mon, 30 Mar 2009 17:34:32 -0300, Alia K alia_kho...@yahoo.com
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
--
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