En Wed, 04 Mar 2009 13:50:32 -0200, W. eWatson
escribió:
Gabriel Genellina wrote:
En Wed, 04 Mar 2009 12:12:50 -0200, W. eWatson
escribió:
That's fine, but I think my problem boils down to one question. There
seem to be two ways to communicate with a dialog (I mean a collection
of widg
Gabriel Genellina wrote:
En Wed, 04 Mar 2009 12:12:50 -0200, W. eWatson
escribió:
That's fine, but I think my problem boils down to one question. There
seem to be two ways to communicate with a dialog (I mean a collection
of widgets assembled in a window that requires the user enter various
On Wed, 04 Mar 2009 06:12:50 -0800, W. eWatson wrote:
> That's fine, but I think my problem boils down to one question. There
> seem to be two ways to communicate with a dialog (I mean a collection of
> widgets assembled in a window that requires the user enter various
> parameters, integers, stri
En Wed, 04 Mar 2009 12:12:50 -0200, W. eWatson
escribió:
That's fine, but I think my problem boils down to one question. There
seem to be two ways to communicate with a dialog (I mean a collection of
widgets assembled in a window that requires the user enter various
parameters, integers,
Gabriel Genellina wrote:
En Wed, 04 Mar 2009 03:13:43 -0200, W. eWatson
escribió:
I'm converting a Tkinter program (Win XP) that uses widgets that
allows the user to change default values of various parameters like
start and stop time in hh:mm:ss, time of exposure in seconds, and
whether ce
En Wed, 04 Mar 2009 03:13:43 -0200, W. eWatson
escribió:
I'm converting a Tkinter program (Win XP) that uses widgets that allows
the user to change default values of various parameters like start and
stop time in hh:mm:ss, time of exposure in seconds, and whether certain
options should b
Does ConfigParser allow writing configuration changes also?
"Dennis Lee Bieber" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> On Sat, 14 Jun 2008 21:27:19 +0200, "Robert" <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
> > What is the most Pythonic way to ma
On 04:11, domenica 15 giugno 2008 Daniel Fetchinson wrote:
> Check this out: http://www.voidspace.org.uk/python/configobj.html
>
Let me add:
cfgparse, iniparse
I've look at all to find a simple solution for my interest, but I realized
not a good result.
I'm using three of them ConfigParser, cfgpa
> What is the most Pythonic way to maintain a configuration file?
> Are there any libraries mimicking registry / ini file writing that many
> windows programming languages/environments offer?
Check this out: http://www.voidspace.org.uk/python/configobj.html
Cheers,
Daniel
--
Psss, psss, put it d
>thanks for the replies, guys!
Your welcome, glad I could help.
>(Spending time on these newsgroups is giving me more questions that
>answers heh )
Thats good as long as it motivates you to learn ;)
M.E.Farmer
--
http://mail.python.org/mailman/listinfo/python-list
thanks for the replies, guys!
MEFarmer, that example helps remove a lot of the confusion, thanks!
I've looked through the SDL but there are so many different ways to do
it, I wasn't which one was hands down best
And Mike, I wish they would stick explanations like that in the SDL!
Would help make
Here are two functions that show how to use ConfigParser.
py>def ConfigWrite(key, value, section, cfgpath):
... import ConfigParser, pprint
... parser=ConfigParser.ConfigParser()
... cfg = open(cfgpath,'w')
... parser.add_section(section)
... Pretty = pprint.PrettyPrinter(
Aaron <[EMAIL PROTECTED]> writes:
> Hi,
>
> I'm interested in creating a large number of configuration files which I
> have no experience doing in python. The fields will be static for the most
> part. But design changes and I might want to add new fields in the future..
>
> My question is - whats
Aaron wrote:
> Hi,
>
> I'm interested in creating a large number of configuration files
which I
> have no experience doing in python. The fields will be static for the
most
> part. But design changes and I might want to add new fields in the
future..
>
> My question is - whats the best module for c
14 matches
Mail list logo