(It's A University Project)
Follow Me On Github For More Projects
Mohammed Ouedrhiri ©
Linkedin Account [Linkedin](https://www.linkedin.com/in/mohammed-ouedrhiri-512183187 “Linkedin”)
from tqdm import tqdm
from time import sleep
import imaplib
def progress(rang):
for i in tqdm(rang, desc ="Progress : "):
sleep(.1)
As You All Can See I Made This Progress Bar Relative To The Searching Progress
folder = input("Enter The Folder Path : ")
And Then Start Looping In The Folder Paths and Files Using Simple For Loop With Folders Parameteres :
for path, subdirs, files in os.walk(rf'{folder}'):
progress(path)
for name in files:
As Far As We All Know That Os Give us the path and The Name in a separated Way So We Need To Combine Them Using Join Function :
print(os.path.join(path, name))
Thanks For Using My Code If You Have Any Problem Contact Me On email : mouedrhiri492@gmail.com
Mohammed Ouedrhiri ©
