【发布时间】:2020-08-11 16:32:27
【问题描述】:
在 python 中,字符串库有类似 string.ascii_letters 的方法。 Unicode 字符或符号有什么相似之处吗?我自己也找不到任何东西。
感谢您的帮助!对这种类型的东西相当新,如果这个问题很愚蠢,请道歉。
【问题讨论】:
-
使用the
unicodedatamodule,您可以遍历所有可能的 unicode 代码点并生成您自己的列表。 -
请为您的问题提供代表代码和数据。
标签: python unicode python-unicode