Re: walk directory & ignore all files/directories begin with '.'

2010-05-13 Thread Tim Chase
On 05/13/2010 12:58 PM, albert kao wrote: I want to walk a directory and ignore all the files or directories which names begin in '.' (e.g. '.svn'). Then I will process all the files. My test program walknodot.py does not do the job yet. Python version is 3.1 on windows XP. Please help. [code] #

Re: walk directory & ignore all files/directories begin with '.'

2010-05-13 Thread albert kao
On May 13, 3:10 pm, MRAB wrote: > albert kao wrote: > > I want to walk a directory and ignore all the files or directories > > which names begin in '.' (e.g. '.svn'). > > Then I will process all the files. > > My test program walknodot.py does not do the job yet. > > Python version is 3.1 on windo

Re: walk directory & ignore all files/directories begin with '.'

2010-05-13 Thread MRAB
albert kao wrote: I want to walk a directory and ignore all the files or directories which names begin in '.' (e.g. '.svn'). Then I will process all the files. My test program walknodot.py does not do the job yet. Python version is 3.1 on windows XP. Please help. [code] #!c:/Python31/python.exe

walk directory & ignore all files/directories begin with '.'

2010-05-13 Thread albert kao
I want to walk a directory and ignore all the files or directories which names begin in '.' (e.g. '.svn'). Then I will process all the files. My test program walknodot.py does not do the job yet. Python version is 3.1 on windows XP. Please help. [code] #!c:/Python31/python.exe -u import os import