会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
myrj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
82
83
84
85
86
87
88
89
90
···
187
下一页
2022年12月26日
mmpeg ts转mp3
摘要: .ts文件转.mp3: ffmpeg -i 三生石下.ts -vn -c:a libmp3lame -q:a 0 1.1.mp3 批处理: for %i in (1*.ts) do ffmpeg -i %i -vn -c:a libmp3lame -q:a 0 %i.mp3 ffmpeg -i sr
阅读全文
posted @ 2022-12-26 11:50 myrj
阅读(127)
评论(0)
推荐(0)
2022年12月25日
mysql出错提示“BLOB/TEXT column used in key specification without a key length”解决办法
摘要: mysql出错提示“BLOB/TEXT column used in key specification without a key length”解决办法 Mysql数据库对于BLOB/TEXT这样类型的数据结构只能索引前N个字符。所以这样的数据类型不能作为主键,也不能是UNIQUE的。所以要换成
阅读全文
posted @ 2022-12-25 07:44 myrj
阅读(3007)
评论(0)
推荐(0)
2022年12月23日
python 文件操作
摘要: 检测文件大小: os.path.getsize(filepath)
阅读全文
posted @ 2022-12-23 16:02 myrj
阅读(17)
评论(0)
推荐(0)
python zfill() rjust()
摘要: >>> 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
阅读(156)
评论(0)
推荐(0)
网页视频 .m3u8下载
摘要: 视频网页相关源代码 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
阅读(1812)
评论(0)
推荐(0)
2022年12月12日
python for-else break continue应用
摘要: ##for 临时变量 in 序列: ## 重复执行的代码 ## ...... ##else: ## 循环正常结束后要执行的代码 #所谓else指的是循环正常结束后要执行的代码,即如果是bresk终止循环的情况。 #else下方缩进的代码将不执行。 #Break是终止循环,一旦遇到break就代表循环
阅读全文
posted @ 2022-12-12 06:44 myrj
阅读(90)
评论(0)
推荐(0)
2022年12月11日
C语言:用一个函数求任意两个整数的最大公约数或最小公倍数
摘要: #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
阅读(231)
评论(0)
推荐(0)
C语言:用指针编写字符串左截取 右截取 中间截取函数 字符串截取 字符串比较
摘要: #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
阅读(439)
评论(0)
推荐(0)
C语言:简单的字符截取与比较
摘要: #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
阅读(105)
评论(0)
推荐(0)
python 字典形式的字符串转字典
摘要: >>> 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
阅读(40)
评论(0)
推荐(0)
上一页
1
···
82
83
84
85
86
87
88
89
90
···
187
下一页
公告