python代码实现如下地址:
地址1:https://www.cnblogs.com/qwertWZ/p/4960755.html
地址2:https://www.cnblogs.com/mantoudev/p/8900126.html