Added some comments and basic write support

This commit is contained in:
2019-02-14 23:19:09 +01:00
parent e3319908a1
commit 6e7ee89148
5 changed files with 191 additions and 22 deletions

14
example.py Normal file
View File

@@ -0,0 +1,14 @@
from Crx import Connection, get_simple_con
def main():
con = get_simple_con()
node = con.get_simple_node('/apps/tmp/test')
with con.start_patch_builder() as ses:
node['banana'] = 'asdf'
ses.save()
if __name__ == '__main__':
main()