Primary difference in between glob.glob and os.walk in python...
Description
Difference between glob.glob and os.walk is that glob.glob only lists .htm files (or snips) from the folder that is specified. snips=glob.glob(r'C:\Users\Guest\Desktop\sudi_work\New_folder\*.htm') this only shows the files in newfolder.if new folder consists of other sub folde r than it does not show any result thus for this purpose os.walk is used as to see path of those snips that are wit hin various sub directories..sub-sub-directories...sub-sub-sub-directories
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.