Listing directory contents

Rainy sill at optonline.net
Wed May 23 12:53:55 EDT 2001


On Wed, 23 May 2001 11:32:49 -0400, Christopher J McMillan <christopherjmcmillan at eaton.com> wrote:
> Hello, newbie here!  I was wondering if there was a more efficient way
> to list the contents of my local working directory then what I'm using"
> 
> os.listdir(os.getcwd())
> 
> Cheers,
> 
> Chris
> 

There isn't, as far as I know.


-- 
I'll give you anything, everything if you want things
        - Syd



More information about the Python-list mailing list