get directory listing in python

From thelinuxwiki
Revision as of 16:28, 12 April 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

list directory contents

>>>import os
>>>os.listdir('.')