Hi, there

Neil Schemenauer nas at python.ca
Tue Sep 4 15:58:29 EDT 2001


Rafael Mentz Aquino wrote:
> So I get a great result doing something like that...:
> 
> a=string.split(os.popen("ls").read(),"\n)

Perhaps you want:

    os.listdir(".")

instead.

  Neil




More information about the Python-list mailing list