Directory in Windows
- From: "custard_pie" <ckwiguno@xxxxxxxxx>
- Date: 30 Apr 2005 10:30:48 -0700
Hi,..I tried to list files in a tree directory using os.path.walk. To
avoid dirnames fromm being listed i use the os.path.isdir method.
However, when isdir encounters directories that use spaces in their
name e.q My Documents it doesn;t recognize them as directories.. Is
there any solution to this,..pertaining that I want to keep the naming
of my directories?
.
- Follow-Ups:
- Re: Directory in Windows
- From: Kent Johnson
- Re: Directory in Windows
- Prev by Date: Re: Micro-PEP: str.translate(None) to mean identity translation
- Next by Date: Re: large dictionary creation takes a LOT of time.
- Previous by thread: mbx repair script: Python vs perl
- Next by thread: Re: Directory in Windows
- Index(es):