python实现代码: https://blog.csdn.net/windowsyun/article/details/88770799 转载于:https://www.cnblogs.com/Marigolci/p/11231962.html