jafeha / parabird

Simple script written in python to build an os independent truecrypt encrypted usb-stick containing a portable thunderbird, enigmail, torbirdy and vidalia.
GNU General Public License v3.0
11 stars 7 forks source link

interresantes aus der stdlib #6

Closed jojoo- closed 11 years ago

jojoo- commented 11 years ago

files hin und herschieben:

http://docs.python.org/2/library/shutil.html, siehe auch http://docs.python.org/2/library/os.html#files-and-directories

unzippen:

http://docs.python.org/2/library/archiving.html # befreit uns zwar nicht von der abhängigkeit von 7z, aber wenigstens von gzip und tar

jafeha commented 11 years ago

Klingt auf jeden fall sinnvoll, das zu verwenden, shutil erscheint schon ziemlich mächtig. Ich hab mal includes dafür gemacht, verwendet wirds bisher allerdings noch nicht.

jafeha commented 11 years ago

sieht nicht all zu gut aus, bezüglich 7z, ich hab nochmal gesucht und das hier gefunden: http://bugs.python.org/issue5689 scheint rejected worden zu sein.

jojoo- commented 11 years ago

ich glaub nicht, dass sich die exe damit entpacken lassen würde.

ich glaube halt, dass 7zip exe installer, die mit xv gepackt sind, entpacken kann, deswegen kann das das stinknormale xv noch lange nicht.

von daher bleibt das halt ne externe dependencie. aber da das ein apt-get weit weg ist, find ich das nicht so schlimm

jafeha commented 11 years ago

closed