上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 188 下一页
摘要: #include <stdio.h> #include <time.h> // time_t数据类型,日历时间头文件 int main(void) { int year,month,day,n,y,r,zhou; time_t current = time(NULL); // 利用time函数获取日 阅读全文
posted @ 2022-12-30 10:10 myrj 阅读(254) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python # encoding: utf-8 import requests, os, platform, time from Crypto.Cipher import AES import multiprocessing from retrying import 阅读全文
posted @ 2022-12-28 18:18 myrj 阅读(331) 评论(0) 推荐(0)
摘要: 高并发 分布式尤为突出 后台 高性能开发 阅读全文
posted @ 2022-12-27 11:30 myrj 阅读(39) 评论(0) 推荐(0)
摘要: import signal def tt(signum, frame): print('You choose to stop me.') exit() signal.signal(signal.SIGINT, tt) signal.signal(signal.SIGTERM, tt) while 1 阅读全文
posted @ 2022-12-27 09:46 myrj 阅读(74) 评论(0) 推荐(0)
摘要: from wxauto import WeChat import pywinauto,time,sys,re,random # 获取当前微信客户端 wx = WeChat() # 获取会话列表 wx.GetSessionList() # 输出当前聊天窗口聊天消息 ##msgs = wx.GetAll 阅读全文
posted @ 2022-12-26 16:33 myrj 阅读(516) 评论(0) 推荐(0)
摘要: re.error: unterminated character set at position 12 这很可能是因为元字符“{}、[]、()”。有没有什么正则表达式可以让finditer忽略它? 您必须转义正则表达式中的特殊字符: slice = "this characters \{}, \[] 阅读全文
posted @ 2022-12-26 13:33 myrj 阅读(4095) 评论(0) 推荐(0)
摘要: .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 阅读(144) 评论(0) 推荐(0)
摘要: mysql出错提示“BLOB/TEXT column used in key specification without a key length”解决办法 Mysql数据库对于BLOB/TEXT这样类型的数据结构只能索引前N个字符。所以这样的数据类型不能作为主键,也不能是UNIQUE的。所以要换成 阅读全文
posted @ 2022-12-25 07:44 myrj 阅读(3047) 评论(0) 推荐(0)
摘要: 检测文件大小: os.path.getsize(filepath) 阅读全文
posted @ 2022-12-23 16:02 myrj 阅读(18) 评论(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 阅读(161) 评论(0) 推荐(0)
上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 188 下一页