Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用于扩展和MAKECAB的Python 3库或模块?_Python_Python 3.x_Linux_Macos_Cab - Fatal编程技术网

用于扩展和MAKECAB的Python 3库或模块?

用于扩展和MAKECAB的Python 3库或模块?,python,python-3.x,linux,macos,cab,Python,Python 3.x,Linux,Macos,Cab,我目前正在使用Python3子进程在脚本中调用EXPAND和MAKECAB,以便在Windows中提取和重新打包.CAB文件。但是,如果我需要在Linux和macOS中也使用它,那么如果没有默认情况下已经包含在Windows中的EXPAND和MAKECAB,我怎么做呢 我尝试了cabarchive(),但是关于如何使用它的文档很少。我试着在Github上查看代码本身,但不确定如何扩展或生成CAB。以下是Github存储库: 导入归档文件 test=cabarchive.cabarchive()

我目前正在使用Python3子进程在脚本中调用
EXPAND
MAKECAB
,以便在Windows中提取和重新打包.CAB文件。但是,如果我需要在Linux和macOS中也使用它,那么如果没有默认情况下已经包含在Windows中的
EXPAND
MAKECAB
,我怎么做呢

我尝试了cabarchive(),但是关于如何使用它的文档很少。我试着在Github上查看代码本身,但不确定如何扩展或生成CAB。以下是Github存储库:

导入归档文件
test=cabarchive.cabarchive()
test2=cabarchive.writer()
我对其他软件包或库开放,如果它们存在的话