Re: PDT: Dateien kopieren und Kopien verifizieren

Aug. 28, 2024
7:34 a.m.
Am 27.08.24 um 00:39 schrieb Stefan Ram:
Warum so kompliziert? Versuch mal: sources1 =[ source.strip() for source in ''' C:\otherdir\example.txt C:\somedir\example.txt C:\somedir\example1.txt ''' .strip().split( '\n' ) if source ] sources2 = ''' C:\otherdir\example.txt C:\somedir\example.txt C:\somedir\example1.txt ''' .split() print(sources1) print(sources2) -- <http://www.hermann-riemann.de>
200
Age (days ago)
200
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hermann Riemann