pyeole.dict4ini – Parsing de fichiers .ini

Version 0.9.5

Voir : http://code.google.com/p/dict4ini/

Exemple simple

from pyeole.dict4ini import DictIni
x = DictIni('test.ini')
x.common.name = 'the common name'
x.common.bool = 1
x.common.boolean = True
x.common.list = [3, 1.2, 'Hello', 'have spaces']
x.save()

On récupère

[common]
list = 3,1.2,Hello,"have spaces",
bool = 1
boolean = 1
name = "the common name"

Sujet précédent

pyeole.sort – fonctions de tri

Cette page

Recherche rapide