def writeText(self,name): with open(name,"w") as stream: for name,code in self.lig2code.items(): stream.write("%s %d\n"%(name,uint32(code)))
def writeText(self, name): with open(name, "w") as stream: for name, code in self.lig2code.items(): stream.write("%s %d\n" % (name, uint32(code)))