Difference between revisions of "get directory listing in python"

From thelinuxwiki
Jump to: navigation, search
(Pushed from Themanclub.)
 

Latest revision as of 16:28, 12 April 2013

list directory contents

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