python小技巧

python 小技巧

  1. 过滤字符串中的中文,只保留英文数字标点。str.encode('ascii', 'ignore')
posted @ 2020-09-25 11:22  佰大于  阅读(87)  评论(0)    收藏  举报