/python3-dconf

dconf is read, write, key list, load, dump, dir watch and database export module. it work on the system database.

Primary LanguagePython

python python python


#python3-dconf Python Module

dconf is read, write, key list, load, dump, dir watch and database export module. it work on the system database.

Installation

git clone https://github.com/knowhw/python3-dconf.git
sudo cp -R python3-dconf/conf /usr/local/lib/python3.10

Module usage

import conf

directory = '/net/launchpad/plank/docks/dock1/icon-size'
conf.write(directory, 34)
size = conf.read(directory)
print(size)
...

directory = '/net/launchpad/plank/docks/dock1'
listkey = conf.listkey(directory)
print(listkey)
...