netsys's recent timeline updates
netsys

netsys

V2EX member #166442, joined on 2016-04-05 10:59:21 +08:00
netsys's recent replies
Oct 8, 2023
Replied to a topic by whereFly Python Python 怎么解压带密码的 tar 呢?
import tarfile

tar = tarfile.open("a.tar", "r:")

try:
tar.extractall(path=".", members=tar) # 无密码解压
print("文件解压成功")
except tarfile.ReadError:
passwd = "password" # 此处填写解压密码
tar.extractall(path=".", members=tar, pwd=passwd.encode('utf-8'))
print("使用密码解压成功")
Nov 18, 2021
Replied to a topic by ZC3746 生活 我明明很平庸,为何努力不起来?
这就是奋斗的苦和生活的苦。
我见过一个保时捷 911 车牌;皖 N M911
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2568 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 14:58 · PVG 22:58 · LAX 07:58 · JFK 10:58
♥ Do have faith in what you're doing.