[Tutor] Dos and os.walk with Python

Tiger12506 keridee at jayco.net
Fri Jan 25 04:17:47 CET 2008


>> I've had little experience with dos.  I believe I should use the
>> COMPACT, and then the MOVE dos command... Would
>> it go something like this?
>
> You could use these but you'd be better just using Python
> to do it via the shutil and os modules and avoid the DOS
> commands completely IMHO.

Python has the zipfile module which is very handy to use, which wasn't 
mentioned but provides the zip functionality that the OP was looking for. 



More information about the Tutor mailing list