Viewing Directories as tree

Peter Maas peter.maas at mplusr.de
Tue Feb 17 13:29:40 EST 2004


Jalil Feghhi wrote:

> 
> 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?

The following recipe displays a directory tree in ASCII. I suppose it
can be easily modified for HTML.

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/217212

Mit freundlichen Gruessen,

Peter Maas

-- 
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Hubert-Wienen-Str. 24
Tel +49-241-93878-0 Fax +49-241-93878-20 eMail peter.maas at mplusr.de
-------------------------------------------------------------------



More information about the Python-list mailing list