0

三个Python 小函数

检查是否为ASCII 字符串:


def is_ascii(s): return all(ord(c) < 128 for c in s)

- 相关文章:

login with sina weibo