pafcu / ConfigObj-GUI

GUI for configuring configobj configurations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ConfigObj-GUI provides a PyQt based mechanism to edit ConfigObj configurations. It is intended to be used as a library to help configure PyQt based applications using ConfigObj.

Note that the library is not very robust yet as it has not been tested very much.

The basic usage is as follows:

import sys
from PyQt4.QtGui import QApplication
import configobj
import configobj_gui

app = QApplication(sys.argv)

spec = configobj.ConfigObj('yourspecfile', list_values=False)
conf = configobj.ConfigObj('yourconffile', configspec=spec)

wnd = configobj_gui.ConfigWindow(conf, spec)
wnd.show()

app.exec_()
print conf

Support the developer if you like this software:

Donate using Liberapay

About

GUI for configuring configobj configurations

License:Other


Languages

Language:Python 100.0%