Python文本处理服务
Coder X
Sometimes it takes going through something so awful to realize the beauty that is out there in this world.
展开
-
Python string模块 -- 字符串操作
目录字符串常量(String constants)使用format格式化字符串按位置输出字符按名字输出字符按属性输出字符按子项输出字符替代%s与%r文本对齐和指定宽度替代%+f, %-f, 与 % f替代%x和%o并将值转换为不同的基数使用逗号作为千位分隔符表示百分数指定日期显示格式更复杂的例子模板字符串(Template strings) 字符串常量(String constants) # -*...原创 2019-04-29 16:15:00 · 253 阅读 · 0 评论 -
Python re模块 -- 正则表达式
目录re模块 本文只介绍Python中re模块于正则表达式中的应用。正则表达式的相关知识,请参考其它文章。 re模块原创 2019-04-30 21:51:01 · 533 阅读 · 0 评论