摘要: 在使用字符串的时,会出现带有特殊字符的字符串,例如反斜杠'\' 例如这个语句:print('hello,\world') 会显示: hello, world 若要显示出'\',需要这样写: print(r'hello,\world') #加前缀r 阅读全文
posted @ 2018-03-13 23:32 谁的小流浪 阅读(161) 评论(0) 推荐(0) 编辑