摘要:
#把末尾是偶数的文件夹中,创建一个a.txt,往里面随便写点东西import osres=os.listdir(r'd:\nhy123')for i in res: s1=int(i[-1]) if s1%2==0: abs_path=r'd:\nhy123\test%s\a.txt'%s1 with open(abs_path,'w',encoding='... 阅读全文
摘要:
今天在工作中遇到了IOS证书的问题,自己百度了一番,总结拙见如下: 1、IOS证书的分类:开发者证书、企业证书/Production证书(生产证书) 开发者证书: 主要是给开发调试用的,可以进行开发和真机调试用(没有它你就只能用模拟器) Development App Development (1年 阅读全文
摘要:
def is_float(s): s=str(s) if s.count(".")==1: s_list=s.split(".") left=s_list[0] right=s_list[1] if left.startswith("-") and left[1:].isdigit() and ri 阅读全文