Listing Directories with glob : Dircetories : File PYTHON examples


PYTHON examples » File » Dircetories »

 

Listing Directories with glob




import os



os.listdir("c:\")                

import glob 


glob.glob('c:\*.mp3')            


glob.glob('c:\*.mp3')           

glob.glob('c:\c\*\*.mp3')                   
           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo File
» Dircetories