08 2019 档案

Python string内置函数
摘要:补充: 【文件内有Excel附件】 阅读全文

posted @ 2019-08-29 10:57 Oohlala 阅读(498) 评论(0) 推荐(0)

Python 字符串转义序列及格式化
摘要:反斜杠(\)转义字符: 字符串格式化: 阅读全文

posted @ 2019-08-27 17:15 Oohlala 阅读(709) 评论(0) 推荐(1)

Python with as 用法
摘要:with如何工作? 阅读全文

posted @ 2019-08-27 14:07 Oohlala 阅读(170) 评论(0) 推荐(0)

软件测试工程师之必备SQL语句基础
该文被密码保护。

posted @ 2019-08-27 10:25 Oohlala 阅读(1) 评论(0) 推荐(0)

Python-ex26
摘要:习题(Python2): 修改后(Python3): 阅读全文

posted @ 2019-08-23 17:16 Oohlala 阅读(198) 评论(0) 推荐(0)

Python-报错UnicodeDecodeError: 'gbk' codec can't decode byte 0xff in position 0: illegal multibyte sequence
摘要:代码如下: #-*-coding:utf-8-*-from sys import argv script, from_file, to_file =argv print(open(from_file).read())input('>')open(to_file,'w').write(open(fro 阅读全文

posted @ 2019-08-22 15:19 Oohlala 阅读(29232) 评论(1) 推荐(2)

Python-open()的模式
摘要:open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None) The available modes are: Character Meaning 'r' 阅读全文

posted @ 2019-08-21 15:52 Oohlala 阅读(953) 评论(0) 推荐(1)

Python格式化字符
摘要:格式 描述 %% 百分号标记 #就是输出一个% %c 字符及其ASCII码 %s 字符串 %d 有符号整数(十进制) %u 无符号整数(十进制) %o 无符号整数(八进制) %x 无符号整数(十六进制) %X 无符号整数(十六进制大写字符) %e 浮点数字(科学计数法) %E 浮点数字(科学计数法, 阅读全文

posted @ 2019-08-20 14:41 Oohlala 阅读(146) 评论(0) 推荐(0)

导航