amazing-qr icon indicating copy to clipboard operation
amazing-qr copied to clipboard

怎么可以不支持双引号"呢

Open cryptogun opened this issue 8 years ago • 1 comments

就差双引号了。 用3个双引号就可以把1个双引号括起来了。哪位顺手改一下吧:) supported_chars = r"""something"""

import string
sup_set = set(supported_chars)
pri_set = set(string.printable)
sup_set - pri_set # output: {'·'}
pri_set - sup_set # output: {'\t', '\x0c', '\x0b', '\r', '"', '\n'}

cryptogun avatar Dec 11 '16 07:12 cryptogun

PS. 原来是GPLv3许可。有传染性的,Got to love the GPL: Force everything that touches it to be open source,限制了商业使用。

cryptogun avatar Dec 11 '16 09:12 cryptogun