def creabackuno():
startbar()
messagebox.showinfo( "Wait..","I am creating the backup, please wait...")
try:
copytree(path,r"backup\dirbackup1\.minecraft")
messagebox.showinfo( "OK!","Backup (1) created!")
stopbar()
except OSError as exc:
messagebox.showerror( "Nope!","There is already a backup to restore")
stopbar()
I have a problem with a progressbar:
The startbar() start the progressbar on the graphic interface, but when start shutil(copytree(path,r"backup\dirbackup1.minecraft")) the interface freezing and the progressbar stop until it finished. thanks
i'm using python 3.3
sorry for my poor english