Python报ValueError: invalid literal for int() with base 10解决办法

indexes = int(node)
改变为下面的就可以解决这个问题的
indexes = int(float(node))

你可能感兴趣的:(语言函数,python)