os.listdir()

Andrew Bennetts andrew-pythonlist at puzzling.org
Sat Jun 21 10:49:09 EDT 2003


On Sat, Jun 21, 2003 at 01:05:29PM +0000, manuel wrote:
> 
> > This might work: import the nt module (it's built-in), then use
> nt.listdir.
> 
> It work fine. :-)
> And for linux?

posix.listdir, rather than nt.listdir.

-Andrew.






More information about the Python-list mailing list