Hi pythoners! :)

My question is very simple (the answer too, i hope): how to display files in a TreeCtrl?

I've tried to use it, according to an example i've found on the web, but it displays only folder, subfolders. No files...

I'll show you the portion of code i have if you want it.

Thank you very much for your help! ;)

Recommended Answers

All 2 Replies

TreeCtrl is really not meant to interact with filesystem.
wx.FileDialog is used to display files.

Ok, thank you very much snippsat! :)

Be a part of the DaniWeb community

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