API自动化__Pytest+BDD的使用中遇到的问题 记录(1)

 

方式1 d) 整体被视为1个字符串 
方式2 **d) 被识别为dict对象

 

 

 

os.getcwd() 这又是怎么用的?
 
 
读取yaml文件报错:pythonfile.read() UnicodeDecodeError: 'gbk' codec can't decode byte 0x98 in position 1190: illegal m https://blog.csdn.net/zhangpeterx/article/details/88663052 读取文件,增加,encoding='utf-8',解决编码问题
 
https://blog.csdn.net/tianshishangxin1/article/details/105987333 python 获取当前时间戳int(round(time.time()*1000) 13位的 时间加365天 的时间戳???
 
json.loads操作的是字符串
json.dumps() 将python对象编码成Json字符串 string
 
 
posted @ 2022-06-09 21:16  幸福在今天  阅读(105)  评论(0)    收藏  举报