[Tutor] Tricky parsing problem

Joerg Woelke lumbricus at gmx.net
Thu Jun 3 10:15:19 EDT 2004


On Thu, Jun 03, 2004 at 09:11:15AM -0500, Tim Wilson wrote:
> Hey everyone,

Hello!
 
[ snip ]

> Naturally, I thought of using a Python script to process these files and
> create the nested outline structure. If you're interested, a typical
> document can be viewed at
> http://www.hopkins.k12.mn.us/pages/district/policies/iplcy/iiaa.htm in all
> its ugliness. As you can see if you view the source, the structure of the
> document is a real mess.
> 
> Can anyone recommend a module that might have some features that would
> assist in this task?

Easyest is to use Wordview:
"http://wvware.sourceforge.net/"
 
> Any general programming principles that would be good to keep in mind?
> 
> -Tim

HTH and Greetings, J"o!




More information about the Tutor mailing list