How can I get the names of the files in a directory?
Satchidanand Haridas
sharidas at zeomega.com
Sat Jan 15 08:23:26 EST 2005
Hi,
try the 'listdir' function in the 'os' module. Also check the 'walk'
function.
regards,
Satchit
----
Satchidanand Haridas (sharidas at zeomega dot com)
ZeOmega (www.zeomega.com)
Open Minds' Open Solutions
#20,Rajalakshmi Plaza,
South End Road,
Basavanagudi,
Bangalore-560 004, India
Sara Fwd wrote:
>Can you guys also help me find a module that looks in
>a directory and print out the names of the files in there?
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Mail - Helps protect you from nasty viruses.
>http://promotions.yahoo.com/new_mail
>
>
More information about the Python-list
mailing list