阅读背景:

解析Python:抑制/规范化字符串的最有效方法是什么?

来源:互联网 

I'm parsing a source file, and I want to "suppress" strings. What I mean by this is transform every string like "bla bla bla +/*" to something like "string" that is deterministic and does not contain any characters that may confuse my parser, because I don't care about the value of the strings. One of the issues here is string formatting using e.g. "%s", please see my remark about this below.I'm parsing a source file, and I want to "suppr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: