摘要: 笔记:Python复习及模块(time、datetime) 一、复习 1、Python的数据类型 .strip() 字符串过滤空格,有事没事,你用一下,只能过滤前和尾的空格。 print(" a1 b 2c3d4".strip()) .replace(old, new) 方法把字符串中的 old(旧 阅读全文
posted @ 2018-04-23 18:52 Ivan_yyq 阅读(144) 评论(0) 推荐(0) 编辑