pu369com

03 2024 档案

python 使用 ffmpeg合成音视频
摘要:moviepy太慢了,ffmpeg似乎快一点 1.从github下载安装 https://github.com//BtbN/FFmpeg-Builds/releases 下载了ffmpeg-master-latest-win64-gpl-shared.zip 直接解压到某个目录中,如:D:\ffmp 阅读全文

posted @ 2024-03-22 16:30 pu369com 阅读(269) 评论(0) 推荐(0) 编辑

python bytes格式的一些转换
摘要:import binascii #中文字符串转bytes s = "中国" b = s.encode("utf-8") print(b) #输出:b'\xe4\xb8\xad\xe5\x9b\xbd' #bytes转字符串,默认utf-8解码 print(b.decode()) #输出:中国 #16 阅读全文

posted @ 2024-03-15 13:27 pu369com 阅读(82) 评论(0) 推荐(0) 编辑

BTC不同格式私钥的相互转换
摘要:代码: 一.16进制格式的私钥转换成WIF格式 import hashlib,binascii,base58 #16进制私钥 hex_str = "1e99423a4ed27608a15a2616a2b0e9e52ced330ac530edcc32c8ffc6a526aedd" #在16进制私钥前面 阅读全文

posted @ 2024-03-14 00:40 pu369com 阅读(627) 评论(0) 推荐(0) 编辑

python生成比特币bitcoin私钥公钥地址
摘要:BTC突破70500美元,续刷历史新高之际,俺是即没钱,也没资格交易;更不想高位接盘。只好写个代码吧: from bitcoin import * # 私钥 my_private_key = random_key() # 公钥 my_public_key = privtopub(my_private 阅读全文

posted @ 2024-03-11 18:43 pu369com 阅读(1025) 评论(0) 推荐(0) 编辑

VLOOKUP函数 秒速配两表数据
摘要:情景: 有两张excel表有相同字段,分别为A表和B表。 A表字段为:姓名、工作单位 B表字段为:姓名、电话 想要实现的是: 将B表中的 电话,复制到A表中, 使A表字段变成:姓名、工作单位、电话解决: 首先想着用python写段代码,感觉有点费脑子。想到了VLOOKUP函数 在wps中:1.将A 阅读全文

posted @ 2024-03-08 18:55 pu369com 阅读(61) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示