aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rw-r--r--examples/show_version.py2
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 38f2722..04fe49a 100644
--- a/README.md
+++ b/README.md
@@ -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()}')