Die Suche ergab 2 Treffer

von alex75
Mittwoch 22. Juni 2022, 09:35
Forum: Codesnippets
Thema: Problem zipFile-Erstellung mit shutil
Antworten: 3
Zugriffe: 13541

Re: Problem zipFile-Erstellung mit shutil

Hallo Blackjack und Sirius3,

top, danke der schnellen Rückmeldung funktioniert.
Um zu vermeiden, dass ein: file.zip.zip erstellt wird, hab ich im obigen Code von Sirius noch
von: shutil.make_archive(path + ".zip", "zip", path)
in: shutil.make_archive(path, "zip", path)
abgeändert.

Funktioniert ...
von alex75
Mittwoch 15. Juni 2022, 15:06
Forum: Codesnippets
Thema: Problem zipFile-Erstellung mit shutil
Antworten: 3
Zugriffe: 13541

Problem zipFile-Erstellung mit shutil

# Package imports
import zipfile
from zipfile import ZipFile
import shutil
import subprocess
import os
from tkinter import filedialog
from tkinter import ttk
from tkinter import messagebox
from tkinter import *
from tkinter.filedialog import askopenfilenames

#
# anderer Code
#

def button_create ...