reading in a string

Niels Diepeveen niels at endea.demon.nl
Thu May 18 14:59:18 EDT 2000


Niels Diepeveen schreef:
> 
> ghost_man at my-deja.com schreef:
> > os.system('dir /s >> myfile.txt')
                   ^^
> 
> It seems to me that what you really want is os.listdir()

Sorry, make that os.path.walk()

-- 
Niels Diepeveen
Endea automatisering




More information about the Python-list mailing list