From: phd at sun.med.ru (Oleg Broytmann)
Date: Tue, 27 Apr 1999 20:00:27 +0400 (MSD)
Subject: Directories
In-Reply-To: <3725DDD2.149DF47F@geocities.com>
Message-ID: <Pine.SOL2.3.96.SK.990427195924.20170I-100000@sun.med.ru>
X-UID: 712                                                  

On Tue, 27 Apr 1999 smoothasice at geocities.com wrote:
> Hi, i'm curious if there is a python command or set of commaneds that
> could be used like the dir() command in dos prompt.  I am trying to
> write  a program in python that would allow me to list the files of a
> certain data type in a few directories but I need to know how I would do
> that ...thanks a bundle.

   fnmatch standard module pretty good on it. Full listsing could also be
generated by os.listdir().

> Anton

Oleg.
---- 
    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/
           Programmers don't die, they just GOSUB without RETURN.





