os.remove / windows / spaces?

Mathias Waack mathias-usenet at valpo.de
Fri Mar 28 02:38:52 EST 2003


"j2" <spamfilter2 at mupp.net> wrote:

> How do i make the below be able to handle paths with spaces in
> it? 
> 
> os.remove(pubdir + OldZipFileName)

Does os.remove(os.path.join(pubdir + OldZipFileName)) work?

Mathias




More information about the Python-list mailing list