On Fri, 25 Feb 2005 21:54:16 -0500, Tom Willis [EMAIL PROTECTED] wrote:
On Fri, 25 Feb 2005 15:02:04 -0700, Dave Brueck
[EMAIL PROTECTED] wrote:
Jorgen Grahn wrote:
...
How about writing them in Python?
...
I actually thought of this, and I was kind of on the fence due to the
intended
On Tue, 22 Feb 2005 20:38:28 -0500, Tom Willis [EMAIL PROTECTED] wrote:
How are the expert pythoneers dealing with config files?
...
Any ideas?
How about writing them in Python?
I have no URL handy, but it would surprise me if there wasn't a lot written
about different techniques for doing
Jorgen Grahn wrote:
On Tue, 22 Feb 2005 20:38:28 -0500, Tom Willis [EMAIL PROTECTED] wrote:
How are the expert pythoneers dealing with config files?
...
Any ideas?
How about writing them in Python?
Depending on who will be editing the config files, this can be a great
approach.
At the simplest
On Fri, 25 Feb 2005 15:02:04 -0700, Dave Brueck
[EMAIL PROTECTED] wrote:
Jorgen Grahn wrote:
On Tue, 22 Feb 2005 20:38:28 -0500, Tom Willis [EMAIL PROTECTED] wrote:
How are the expert pythoneers dealing with config files?
...
Any ideas?
How about writing them in Python?
Tom Willis wrote:
On Fri, 25 Feb 2005 15:02:04 -0700, Dave Brueck
How about writing them in Python?
Depending on who will be editing the config files, this can be a great approach.
[snip]
I actually thought of this, and I was kind of on the fence due to the
intended audience.
I don't think it's
Hello Tom,
Tom Willis wrote:
How are the expert pythoneers dealing with config files?
Is there anything similair to .net's config files or java's
.properties?
I'm not familiar with those config file formats - but ConfigObj
certainly makes handling config files easy. It uses the ini type
Tom Willis [EMAIL PROTECTED] writes:
How are the expert pythoneers dealing with config files?
You could use the cPickle module if you don't mind your config files
being unreadable by humans. There is also the shlex module for more
powerful config file needs:
On Wed, 23 Feb 2005 20:15:47 +, Phil Jackson
[EMAIL PROTECTED] wrote:
Tom Willis [EMAIL PROTECTED] writes:
How are the expert pythoneers dealing with config files?
You could use the cPickle module if you don't mind your config files
being unreadable by humans. There is also the shlex
How are the expert pythoneers dealing with config files?
[...]
You can just import ConfigParser, or look at the various alternatives:
http://www.python.org/moin/ConfigParserShootout
=Tony.Meyer
--
http://mail.python.org/mailman/listinfo/python-list
Thanks,
I'm not too keen on the ini layout. But it's good to know it's there.
On Wed, 23 Feb 2005 14:50:27 +1300, Tony Meyer [EMAIL PROTECTED] wrote:
How are the expert pythoneers dealing with config files?
[...]
You can just import ConfigParser, or look at the various alternatives:
10 matches
Mail list logo