使用Python创建自解压Zip [英] Creating Self Extracting Zip using Python

查看:104
本文介绍了使用Python创建自解压Zip的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

是否有任何可以通过python调用来创建自己的实用程序

解压zip文件。我现在正在使用powerar。但命令

行选项不够灵活。基本上,我想创建一个

自解压缩文件,默认文件路径提取并强制

覆盖。 powerArchiever根本不让我打电话,除非我使用GUI获得


欢迎任何想法,经验和建议。

谢谢。

-Calvin

Dear all,
Are there any utility that can be call by python to create self
extracting zip file. I''m now using the powerarchiever. But the command
line options aren''t flexible enough. Basically, I would like to create a
self extracting zip with default file path extraction and force
over-write. The powerArchiever just don''t let me call it unless I''m
using the GUI.
Any idea, experience and suggestion are welcome.
Thank you.
-Calvin

推荐答案

" Calvin FONG" <豪***** @ alumni.ust.hk> schrieb im Newsbeitrag

新闻:c0 *********** @ news.hgc.com.hk ...

|亲爱的,

|是否有任何可以通过python调用来创建自己的实用程序

|提取zip文件。我现在正在使用powerar。但命令

|行选项不够灵活。基本上,我想创建一个

|自解压zip,默认文件路径提取和强制

|在写。 powerArchiever根本不让我打电话,除非我是b $ b |使用GUI。

|欢迎任何想法,经验和建议。

|谢谢。

| -Calvin

我使用MakeSfx又名FreeExtractor( http://www.disoriented .com / )用

Python来驱动它。命令行选项很灵活(足够),它是免费的,而且它是开源的...... b $ b HTH,
/>

Vincent Wehren
"Calvin FONG" <ho*****@alumni.ust.hk> schrieb im Newsbeitrag
news:c0***********@news.hgc.com.hk...
| Dear all,
| Are there any utility that can be call by python to create self
| extracting zip file. I''m now using the powerarchiever. But the command
| line options aren''t flexible enough. Basically, I would like to create a
| self extracting zip with default file path extraction and force
| over-write. The powerArchiever just don''t let me call it unless I''m
| using the GUI.
| Any idea, experience and suggestion are welcome.
| Thank you.
| -Calvin
I use MakeSfx aka FreeExtractor (http://www.disoriented.com/) drive it with
Python. The command line options is flexible (enough), it''s free, and it''s
open source...

HTH,

Vincent Wehren


>是否有任何可以通过python调用来创建self
> Are there any utility that can be call by python to create self
提取zip文件的实用程序。我现在正在使用powerar。但命令
行选项不够灵活。基本上,我想创建一个
自解压缩文件,默认文件路径提取并强制覆盖。除非我使用GUI,否则powerArchiever就不要让我打电话。
欢迎任何想法,经验和建议。
谢谢。
extracting zip file. I''m now using the powerarchiever. But the command
line options aren''t flexible enough. Basically, I would like to create a
self extracting zip with default file path extraction and force
over-write. The powerArchiever just don''t let me call it unless I''m
using the GUI.
Any idea, experience and suggestion are welcome.
Thank you.




您在错误的新闻组中。


要回答您的问题,可以使用
$ b $调用任何命令行实用程序b os.system。


选择您想要的任何命令行实用程序。我更喜欢Info-zip:
http://www.info -zip.org/pub/infozip/


- Josiah



You are in the wrong newsgroup.

To answer your question, any command-line utility can be called with
os.system.

Pick any command-line utility you want. I prefer Info-zip:
http://www.info-zip.org/pub/infozip/

- Josiah


Vincent Wehren写道:
Vincent Wehren wrote:
Calvin FONG <豪***** @ alumni.ust.hk> schrieb im Newsbeitrag
新闻:c0 *********** @ news.hgc.com.hk ...
|亲爱的,
|是否有任何可以通过python调用来创建自己的实用程序
|提取zip文件。我现在正在使用powerar。但是命令
|行选项不够灵活。基本上,我想创建一个
|使用默认文件路径提取和强制自解压zip
|在写。除非是
|,否则powerArchiever就不要让我给它打电话使用GUI。
|欢迎任何想法,经验和建议。
|谢谢。
| -Calvin

我使用MakeSfx又名FreeExtractor( http://www.disoriented .com /
Python驱动它。命令行选项很灵活(足够),它是免费的,而且它是开源的......

HTH,

Vincent Wehren
"Calvin FONG" <ho*****@alumni.ust.hk> schrieb im Newsbeitrag
news:c0***********@news.hgc.com.hk...
| Dear all,
| Are there any utility that can be call by python to create self
| extracting zip file. I''m now using the powerarchiever. But the command
| line options aren''t flexible enough. Basically, I would like to create a
| self extracting zip with default file path extraction and force
| over-write. The powerArchiever just don''t let me call it unless I''m
| using the GUI.
| Any idea, experience and suggestion are welcome.
| Thank you.
| -Calvin
I use MakeSfx aka FreeExtractor (http://www.disoriented.com/) drive it with
Python. The command line options is flexible (enough), it''s free, and it''s
open source...

HTH,

Vincent Wehren



感谢Vincet,这是一个不错的开源软件。

顺便问一下,HTH代表什么?

-Calvin


Thank Vincet, that''s a nice open-source warez.
By the way, what does HTH stands for?
-Calvin


这篇关于使用Python创建自解压Zip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆