上一页 1 ··· 81 82 83 84 85 86 87 88 89 ··· 186 下一页
摘要: 检测文件大小: os.path.getsize(filepath) 阅读全文
posted @ 2022-12-23 16:02 myrj 阅读(16) 评论(0) 推荐(0)
摘要: >>> aa="abcdde">>> aa.zfill(10)'0000abcdde'>>> aa.zfill(2)'abcdde'>>> aa.zfill(6)'abcdde'>>> aa.rjust(10,"*")'****abcdde'>>> ab="-100.24">>> ab.zfill( 阅读全文
posted @ 2022-12-23 15:53 myrj 阅读(151) 评论(0) 推荐(0)
摘要: 视频网页相关源代码 url显示:blob:http://www.99xxxxx.com/559dff7f-67f0-4670-9bdb-61c701cf743a大部分网页视频为.m3u8F12检查,搜索.m3u8m3u8又是啥? m3u8格式编码是utf-8格式的m3u文件,m3u文件是记录了一个按 阅读全文
posted @ 2022-12-23 09:02 myrj 阅读(1779) 评论(0) 推荐(0)
摘要: ##for 临时变量 in 序列: ## 重复执行的代码 ## ...... ##else: ## 循环正常结束后要执行的代码 #所谓else指的是循环正常结束后要执行的代码,即如果是bresk终止循环的情况。 #else下方缩进的代码将不执行。 #Break是终止循环,一旦遇到break就代表循环 阅读全文
posted @ 2022-12-12 06:44 myrj 阅读(85) 评论(0) 推荐(0)
摘要: #include <stdio.h> int gygb(int m,int n,int x) { int a; if(x==0) { for(a=m;a>=1;a--) if(m%a==0 && n%a==0) return a; return a; } else { for(a=m;a<m*n;a 阅读全文
posted @ 2022-12-11 20:31 myrj 阅读(226) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <string.h> struct data {char name[7];int age;} ab[5]={"张三",10,"李四",11,"张五",12,"李六",13,"陈七",14}; //编程将数组中所有姓张的年龄增加1,姓李的增加2, 阅读全文
posted @ 2022-12-11 19:54 myrj 阅读(431) 评论(0) 推荐(0)
摘要: #include <stdio.h> struct data {char name[7];int age;} ab[5]={"张三",10,"李四",11,"张五",12,"李六",13,"陈七",14}; //编程将数组中所有姓张的年龄增加1,姓李的增加2,然后输出各个人的姓名与年龄 //中文字符 阅读全文
posted @ 2022-12-11 15:56 myrj 阅读(103) 评论(0) 推荐(0)
摘要: >>> import ast >>> aar='{"ab":1,"ac":2,"ad":3}' >>> aaxx=ast.literal_eval(aar) >>> aaxx {'ab': 1, 'ac': 2, 'ad': 3} >>> >>> aar='{"ab":1,"ac":2,"ad":3 阅读全文
posted @ 2022-12-11 15:38 myrj 阅读(32) 评论(0) 推荐(0)
摘要: import threading sem = threading.Semaphore(10)#设置最大线程数 #在线程调用的函数开始设置sem.acquire() #在线程调用的函数最后设置sem.release() def xiazai(iiv,chapter_url_list): sem.acq 阅读全文
posted @ 2022-12-09 21:51 myrj 阅读(452) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-12-09 10:32 myrj 阅读(62) 评论(0) 推荐(0)
上一页 1 ··· 81 82 83 84 85 86 87 88 89 ··· 186 下一页