Die Suche ergab 3 Treffer

von snakey
Donnerstag 27. März 2003, 10:56
Forum: Allgemeine Fragen
Thema: Moving/Copying files
Antworten: 5
Zugriffe: 3228

Now what i have is,
in the directory c:\temp , i have 10 txt files
and i want to move them to d:\temp

with shutil i tried

copyfile('c:\temp\*.txt' ,''d:\temp\')

is this valid ?
Excuse my ignorance, i am new at Python :)
von snakey
Mittwoch 26. März 2003, 16:32
Forum: Allgemeine Fragen
Thema: Moving/Copying files
Antworten: 5
Zugriffe: 3228

I want to transfer a bunch of files. not just one.
so if i have 10 files in one directory, i want to copy them or move them (after i finish writing to them) to another directory.
von snakey
Mittwoch 26. März 2003, 14:10
Forum: Allgemeine Fragen
Thema: Moving/Copying files
Antworten: 5
Zugriffe: 3228

Moving/Copying files

how do i move files to a specific directory ?