problem with glob in remote directory or os.walk in remote directory in windos

Steve Holden steve at
Thu Feb 26 15:15:23 CET 2009

lameck kassana wrote:
> ok my original question is how can count the files of ceratin pattern(eg
> *.txt) in remote directory .It seems use of glob.glob() for remote
> directory is not working .Example I want to count the files in following
> shared folder \\\files <file://> how can
> do it by using glob.glob() 
>>> glob.glob(r"\\houseboy\sholden\*.txt")
>>> glob.glob(r"\\\sholden\*.txt")

Working just fine for me.

Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC    

More information about the Python-list mailing list