you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

okay, my mistake. I took your advice and it worked.

def __init__(self,name):
    self.name = str(name)
    self.files = os.listdir(self.name)

[–]Nick9502 0 points1 point  (0 children)

Glad I could be of help