I have no idea where to start with this, a few pointers and a kick in the right direction would be much appreciated.

I run a radio station. All our music is in folders representing music styles. From time to time I want to print out a complete library. Printing folder at a time is fine but I end up with 12 printouts, I would rather have one print out with all the contents of the 12 folders combined and arranged alphabetically. The folders rarely change names etc so could be hard-coded or I may write a gui for their individual selection later.

Its the reading of folders contents and combining them I am stuck on...

Please.

This is on a windows XP system (with Python 2.7)

Recommended Answers

use os.listdir and os.path.isdir

Jump to Post

All 2 Replies

use os.listdir and os.path.isdir

Thanks pytony, that's a starting point...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.