1

Having the following base code for walking a directory I would like to fill a GtkTreeView with the directory and files information to the user:

import os
for (path, dirs, files) in os.walk("/etc"):
    print path, dirs, files

C code is also welcome since it is easy to translate to pygtk.

João Pinto
  • 5,521
  • 5
  • 21
  • 35

1 Answers1

0

Look at this question.

The question was funnily the other way around: how to get the directory structure which can then be filled into the TreeView.

Community
  • 1
  • 1
Constantinius
  • 34,183
  • 8
  • 77
  • 85