会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
myrj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
111
112
113
114
115
116
117
118
119
···
189
下一页
2022年3月23日
python AES解密算法
摘要: base64 Base64编码,64指A-Z、a-z、0-9、+和/这64个字符,还有“=”号不属于编码字符,而是填充字符。为什么发明这么个编码呢,这个编码的原理很简单,“破解”也很容易,原因是电子邮件刚出来的时候,只传递英文字符,这没有问题,但是后来,中国人,日本人都要发email,这样问题就来了
阅读全文
posted @ 2022-03-23 05:43 myrj
阅读(692)
评论(0)
推荐(0)
2022年3月22日
python pyinstaller GUI源代码
摘要: from PyQt5.QtWidgets import QWidget, QApplication, QPushButton, QTextEdit, QCheckBox, QLabel, QFileDialog from PyQt5.QtGui import QIcon import sys imp
阅读全文
posted @ 2022-03-22 21:42 myrj
阅读(117)
评论(0)
推荐(0)
pyinstaller --key
摘要: 通过AES256进行模糊处理 解密AES256 c:\Anaconda32\envs\myenv\Scripts\pyinstaller.exe --distpath=./dist/win32 --workpath=./build/win32 --uac-admin --uac-uiaccess -
阅读全文
posted @ 2022-03-22 21:12 myrj
阅读(358)
评论(0)
推荐(0)
pyinstaller 参数
摘要: """ Add the `Makespec` options to a option-parser instance or a option group. """ g = parser.add_argument_group('What to generate') g.add_argument( "-
阅读全文
posted @ 2022-03-22 20:09 myrj
阅读(313)
评论(0)
推荐(0)
2022年3月20日
python 获得指定服务器时间返回13 16位时间戳
摘要: import ntplib import os,datetime hosts = ['0.cn.pool.ntp.org','1.cn.pool.ntp.org','2.cn.pool.ntp.org','3.cn.pool.ntp.org'] hosts=['ntp.aliyun.com','nt
阅读全文
posted @ 2022-03-20 09:50 myrj
阅读(548)
评论(0)
推荐(0)
获取特定服务器时间(格式:毫秒级 微秒级)注意显示格式
摘要: def get_web_now_timea(time_format='YYYY-MM-DD HH:mm:ss.SSSSSS'): """ 获取网络时间,返回时间格式:2019-12-13 11:39:48.398 :param time_format:控制返回字符串的格式,默认为:'YYYY-MM-
阅读全文
posted @ 2022-03-20 09:32 myrj
阅读(438)
评论(0)
推荐(0)
根据阿里NTP校时本地时间
摘要: import ntplib import os,datetime def ntp_client(): #hosts = ['0.cn.pool.ntp.org','1.cn.pool.ntp.org','2.cn.pool.ntp.org','3.cn.pool.ntp.org'] hosts=['
阅读全文
posted @ 2022-03-20 09:28 myrj
阅读(444)
评论(0)
推荐(0)
python 取得13 16位时间戳 及逆向转化
摘要: import datetime import time def get_float_time_stamp(): datetime_now = datetime.datetime.now() return datetime_now.timestamp() def get_time_stamp16():
阅读全文
posted @ 2022-03-20 06:04 myrj
阅读(993)
评论(0)
推荐(0)
2022年3月18日
微信群 共享文档 在线编辑
摘要: 金山文档,百度搜索,打开网页,微信登录,上传模板文件,任何人都可编辑,分享,复制链接到微信群
阅读全文
posted @ 2022-03-18 16:44 myrj
阅读(480)
评论(0)
推荐(0)
python替换开头的连续字符 替换连续的几个字符
摘要: >>> a='0000234230000'>>> ac=re.sub('^0+','',a)>>> ac'234230000'>>> ac=re.sub('0+','',a)>>> ac'23423'>>> 搜索 复制
阅读全文
posted @ 2022-03-18 06:43 myrj
阅读(99)
评论(0)
推荐(0)
上一页
1
···
111
112
113
114
115
116
117
118
119
···
189
下一页
公告