diff options
| author | morefigs <morefigs@gmail.com> | 2019-01-30 18:31:26 +1100 |
|---|---|---|
| committer | morefigs <morefigs@gmail.com> | 2019-01-30 18:31:26 +1100 |
| commit | c11421c950d0512886d5b967092e7a8e63fbf5e9 (patch) | |
| tree | ee9edfb90269a749f3933aa6ce51cc0b9566f919 | |
| parent | b22cf8e19541627b5c9b68d24416cc27213e8e6f (diff) | |
| download | pymba-c11421c950d0512886d5b967092e7a8e63fbf5e9.tar.gz pymba-c11421c950d0512886d5b967092e7a8e63fbf5e9.zip | |
specify vimba c api version
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | examples/show_version.py | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -34,9 +34,10 @@ For Python 2 and for backwards compatibility with older versions of Pymba use th If Vimba and Pymba are installed correctly, then the following code should give the installed Vimba version. No camera is needed. - from pymba import Vimba + from pymba import Vimba, PYMBA_VERSION - print(Vimba.version()) + print('Pymba version:', PYMBA_VERSION) + print('Vimba C API version:', Vimba.version()) ## Usage examples diff --git a/examples/show_version.py b/examples/show_version.py index 643dc1c..386d622 100644 --- a/examples/show_version.py +++ b/examples/show_version.py @@ -3,4 +3,4 @@ from pymba import Vimba, PYMBA_VERSION if __name__ == '__main__': print(f'Pymba version: {PYMBA_VERSION}') - print(f'Vimba version: {Vimba.version()}') + print(f'Vimba C API version: {Vimba.version()}') |
