-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steven Kurylo wrote:
> I'm going to do this in python and I'm looking at different (better?)
> ways, right now I'm reading about pyparsing. Does anyone have other
> suggestions?
>
> The text looks something like
>
> config blah boo
> edit 1
> set foo
> set bar
> next
> edit 2
> set foo2
> set bar2
> next
> end
Is it useful info?
For information to be retrieved, I like PyRSS2Gen. Easy to use and
outputs an RSS2 feed. That way display can be generic (browser, feed
reader, etc). Use the feedparser module for reading the RSS2 file.
The downside is that you're dealing in XML so it may not do what you
want. You would also have to change the data from loosely structured to
formal.
Other than that, if you're familiar with .ini format, ConfigParser can
be useful.
I guess it mostly depends on the type of data.
Cheers,
lance
- --
Lance Levsen,
Catprint Computing
Tel: (306) 493-2249
Cell: (306) 230-8783
Blog: http://www.catprint.ca/blog/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIK7nsWSOc2vLaecgRAjzyAKCFx5TPBtAPKw5JTxRDozK3dHwJlwCggbkZ
HYeI/ZIJE7xNYqHTgsyHPT4=
=bcVq
-----END PGP SIGNATURE-----
Received on Wed May 14 22:20:00 2008
This archive was generated by hypermail 2.1.8 : Wed May 14 2008 - 22:20:06 CST