[Zope] reading text based config file

Ivan Cornell ivan.cornell@framestore.co.uk
Mon, 30 Apr 2001 16:38:45 +0100


>
> what's the best way to read a flat file like this line by line and split
> each line to three variables?
>
> 1:menuname:url
> 1.1:submenuname:url
> 1.2:submenuname:url
> 2:nenuname:url
> 2.1:sub
> ...
>

You might also want to look at the TinyTablePlus product,
http://www.zope.org/Members/hathawsh/TinyTablePlus for storing simple tabular
information like this.

Ivan