使用Python令牌的小实用程序
token-utils的Python项目详细描述
令牌实用程序
此项目由单个模块组成,该模块从 ideas包。 它的目的是简化令牌的操作 Python的tokenize module。 它的一个特性是,与Python的版本不同,它的以下特性 始终保证:
fromtoken_utilsimporttokenize,untokenizesource="Arbitrary Python code here"assertsource==untokenize(tokenize(source))
{更多信息请参见^
- 项目
标签: