aboutsummaryrefslogtreecommitdiff
path: root/examples/system/get_system_object.py
diff options
context:
space:
mode:
authormorefigs <morefigs@gmail.com>2019-01-30 13:59:01 +1100
committermorefigs <morefigs@gmail.com>2019-01-30 13:59:01 +1100
commit01587d8ba4d5a1f8371f44e719eda6547d3ed459 (patch)
tree76fc58dedcb8b4aec9dd3c260ddd7badbd3e7fd7 /examples/system/get_system_object.py
parent837d3af93e55b3a2714832092e1581df51cef1ec (diff)
downloadpymba-01587d8ba4d5a1f8371f44e719eda6547d3ed459.tar.gz
pymba-01587d8ba4d5a1f8371f44e719eda6547d3ed459.zip
clean up examples into separate dirs
Diffstat (limited to 'examples/system/get_system_object.py')
-rw-r--r--examples/system/get_system_object.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/system/get_system_object.py b/examples/system/get_system_object.py
new file mode 100644
index 0000000..2d59001
--- /dev/null
+++ b/examples/system/get_system_object.py
@@ -0,0 +1,8 @@
+from pymba import Vimba
+
+
+if __name__ == '__main__':
+
+ with Vimba() as vimba:
+ system = vimba.system()
+ print(system)