Ich habe eine kurze Frage:
Code: Alles auswählen
try:
if (not neuer_destination_path.exists()
and neuer_source_path.is_file()):
copy2(src=neuer_source_path, dst=neuer_destination_path)
time.sleep(0.1)
else:
raise FileExistsError
Ich danke euch