SB <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I have a super-simple need to just walk the files in a single directory.
>
>I thought this would do it, but "permanentFilelist" ends up containing
>all folders in all subdirectories.
>
>Could someone spot the problem? I've scoured some threads using XNews reg
Thanks Tim, this definitely does it. I was trying to prevent having to
spend time absorbing the core of how generators work, because this simple
is all I need to do, and I don't have the updated python cookbook book. The
one I have discussed the old os.path.walk.
Tim Peters <[EMAIL PROTECTED]
[EMAIL PROTECTED]
> I have a super-simple need to just walk the files in a single directory.
>
> I thought this would do it, but "permanentFilelist" ends up containing
> all folders in all subdirectories.
All folders everywhere, or all file (not directory) names in the top
two levels? It looks li
Hi,
I have a super-simple need to just walk the files in a single directory.
I thought this would do it, but "permanentFilelist" ends up containing
all folders in all subdirectories.
Could someone spot the problem? I've scoured some threads using XNews reg
expressions involving os.walk, but co