Hi All,
What the best way to store dynamic label so that users can customize
the title,text & captions etc easily.
Thanks
Thomas
Hi All,
What the best way to store dynamic label so that users can customize
the title,text & captions etc easily.
Thanks
Thomas
thomas wrote:
Hi All,
What the best way to store dynamic label so that users can customize
the title,text & captions etc easily.Thanks
Thomas
>
You may wish to take a look at the standard ConfigParser module,
--
Steven Sproat, BSc
http://www.basicrpg.com/
Thomas,
On Sep 30, 7:33 pm, Steven Sproat <spro...@gmail.com> wrote:
thomas wrote:
> Hi All,> What the best way to store dynamic label so that users can customize
> the title,text & captions etc easily.> Thanks
> ThomasYou may wish to take a look at the standard ConfigParser module,configparser — Configuration file parser — Python 3.13.0 documentation
--
Steven Sproat, BSchttp://www.basicrpg.com/
Or you might also check out ConfigObj, which has a lot of extra
features:
http://www.voidspace.org.uk/python/configobj.html
My boss likes it better because it understands types and you can set
up config templates.
-------------------
Mike Driscoll
Mike Driscoll wrote:
...
Or you might also check out ConfigObj, which has a lot of extra
features:http://www.voidspace.org.uk/python/configobj.html
My boss likes it better because it understands types and you can set
up config templates.
That looks very interesting, looks easier to use then FileConfig. Pity just finished (at least for now) the pyAUI save/load perspective using FileConfig, might have been a bit easier with configobj from just looking at the sites doc for reading/writing a file.
Thanks for mentioning it.
Werner
I use YAML for my config settings...it will re-instantiate stored
python objects as well...
On Oct 1, 9:48 am, werner <wbru...@free.fr> wrote:
Mike Driscoll wrote:
...> Or you might also check out ConfigObj, which has a lot of extra
> features:>http://www.voidspace.org.uk/python/configobj.html
> My boss likes it better because it understands types and you can set
> up config templates.That looks very interesting, looks easier to use then FileConfig. Pity
just finished (at least for now) the pyAUI save/load perspective using
FileConfig, might have been a bit easier with configobj from just
looking at the sites doc for reading/writing a file.Thanks for mentioning it.
Werner
I'm aware that pickle has a lot of security issues. But still I could
recommend pickle — Python object serialization — Python 3.13.0 documentation
Op 1-okt-09, om 02:16 heeft thomas het volgende geschreven:
Hi All,
What the best way to store dynamic label so that users can customize
the title,text & captions etc easily.Thanks
Thomas
>
Met vriendelijke groeten,
Jonas Geiregat
jonas@geiregat.org