guys. I\'m trying to find the most elegant solution to a problem and wondered if python has anything built-in for what I\'m trying to do.
What I\'m doing is this. I
You could just do the straightforward:
subs = [] for d in dirs: subs.extend(os.listdir(d))