Answer to Question #223810 in Python for Akshay

Question #223810
Question 1:

Finder program

# Dict, list, queue

# directory --- os.walk()

list1 = [c:, d:, e:]

dict1 = {}

def func(drive)

resp = os.walk(drive)

statem1

st

dict1[file] = path

for drive in list1:

#th1 = Thread(target= func(drive))

#th1.start()

func(drive)

# apply join

finding total time of execution #

dict ---> pickle

Please help me to get the solution for this
1
Expert's answer
2021-08-09T02:35:00-0400
# Dict, list, queue


# directory --- os.walk()


list1 = [c, d, e]


dict1 = {}


def func(drive):


    resp = os.walk(drive)
    
    statem1
    
    st
    
    dict1[file] = path
    
    for drive in list1:
    
    #th1 = Thread(target= func(drive))
    
    #th1.start()
        func(drive)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS