提供python的简单做法: https://blog.nowcoder.net/n/101997bcba6147188fa1e36a35b7542b https://blog.nowcoder.net/n/528190782edc4067800c14556977b921