How do you conver output of "popen('ls')" to a list?

Neil Schemenauer nas at python.ca
Wed Feb 20 17:35:11 EST 2002


I'm a bit late coming in on this thread but what's wrong with:

    os.listdir('.')

It's more portable and faster.

  Neil




More information about the Python-list mailing list