G+_Tnt Seeker Posted May 13, 2014 Share Posted May 13, 2014 Is There a way to list all files and folders in a directory? Link to comment Share on other sites More sharing options...
G+_egbie anderson Posted May 13, 2014 Share Posted May 13, 2014 from os import listdir # list the entire content of a directory >>> dir_content = listdir("/some/dir/pathway") Link to comment Share on other sites More sharing options...
G+_Tnt Seeker Posted May 13, 2014 Author Share Posted May 13, 2014 Thanks! Link to comment Share on other sites More sharing options...
G+_egbie anderson Posted May 13, 2014 Share Posted May 13, 2014 your welcome Link to comment Share on other sites More sharing options...
Recommended Posts