如何使用python将多糖转化为树状结构?
python代码把Neu5Aca2-3(GalNAcb1-4)Galb1-3GalNAcb1-4(Neu5Aca2-3)Galb1-4Glc这样的树结构转换成? '''
class node: def _init_(self,lable,parent): self.lable =lable self.parent = parent self.children = children
'''