Python Utils - A simple config file parser and output object

F

Fuzzyman

A couple of little scripts I've written for my python project
(AAAcontroller - see www.atlantibots.org.uk) might be useful to others
- so I've stuck them up on the web :

http://www.voidspace.org.uk/atlantibots/pythonutils.html

They're my new config object - ConfigObj - and my output object
StandOut.......

ConfigObj parses and updates simple config files (including multiple
values for keywords, preserving comments, and updating sections of the
file).
StandOut is an output object that can print messages to the screen
*and* to a logfile.....


Fuzzy

--

http://www.Voidspace.org.uk
The Place where headspace meets cyberspace. Online resource site -
covering science, technology, computing, cyberpunk, psychology,
spirituality, fiction and more.

---
http://www.atlantibots.org.uk
http://groups.yahoo.com/group/atlantis_talk/
Atlantibots - stomping across the worlds of Atlantis.
---
http://www.fuchsiashockz.co.uk
http://groups.yahoo.com/group/void-shockz
---

Everyone has talent. What is rare is the courage to follow talent
to the dark place where it leads. -Erica Jong
Ambition is a poor excuse for not having sense enough to be lazy.
-Milan Kundera
 
F

Fuzzyman

I've done a slight update to these (v1.0.1 :) a couple of bugfixes
and added a couple of small but nifty features........ (all to
ConfigObj)

I have to use google groups to post these messages as our work
firewall block nntp.... I'm thinking of building a newsgroup reader
that uses google groups via http but provides a better interface...
anyone interested ??

Fuzzy

A couple of little scripts I've written for my python project
(AAAcontroller - see www.atlantibots.org.uk) might be useful to others
- so I've stuck them up on the web :

http://www.voidspace.org.uk/atlantibots/pythonutils.html

They're my new config object - ConfigObj - and my output object
StandOut.......

ConfigObj parses and updates simple config files (including multiple
values for keywords, preserving comments, and updating sections of the
file).
StandOut is an output object that can print messages to the screen
*and* to a logfile.....


Fuzzy

--

http://www.Voidspace.org.uk
The Place where headspace meets cyberspace. Online resource site -
covering science, technology, computing, cyberpunk, psychology,
spirituality, fiction and more.

---
http://www.atlantibots.org.uk
http://groups.yahoo.com/group/atlantis_talk/
Atlantibots - stomping across the worlds of Atlantis.
---
http://www.fuchsiashockz.co.uk
http://groups.yahoo.com/group/void-shockz
---

Everyone has talent. What is rare is the courage to follow talent
to the dark place where it leads. -Erica Jong
Ambition is a poor excuse for not having sense enough to be lazy.
-Milan Kundera
 
J

JanC

(e-mail address removed) (Fuzzyman) schreef:
I have to use google groups to post these messages as our work
firewall block nntp.... I'm thinking of building a newsgroup reader
that uses google groups via http but provides a better interface...
anyone interested ??

Some news servers allow connections on port 80 or other alternatives.
(The free news.readfreenews.net server does, but it doesn't allow posting,)

Also comp.lang.python is linked to the python mailing list:
<http://python.org/community/lists.html>
 
F

Fuzzyman

[snip..]
Some news servers allow connections on port 80 or other alternatives.
(The free news.readfreenews.net server does, but it doesn't allow posting,)

Interesting... I wonder if I'll be able to configure free agent to read from it :)
Also comp.lang.python is linked to the python mailing list:
<http://python.org/community/lists.html>

I don't think I could cope with all of this group by email... but thanks.

Fuzzyman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top