Viewing Directories as tree

Miki Tebeka miki.tebeka at
Mon Feb 16 07:26:40 CET 2004

Hello Jalil,

> I am looking for some python code that I can plug-into my web 
> application to display file system heirarchies
> using a tree structure. I have seem some  libraries that do this but 
> only as a standalone application.
> Is there anything that can be used in a browser?
If your browser supports XML (such as IE, Mozilla ...) you can output
the directory tree to an XML file and show it.
It can be made prettier with XSL but I didn't work with XSL so I can't
tell you how.


More information about the Python-list mailing list