aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois-Michel De Rainville <f.derainville@gmail.com>2015-01-26 08:40:35 -0500
committerFrançois-Michel De Rainville <f.derainville@gmail.com>2015-01-26 08:40:35 -0500
commit6e75392943a2a40984e609f387145ded8d7c1b53 (patch)
tree1a39c665e8eb38dc8105d7ec5148b859f774224e
parentae2ed2f109c1357211ae4eb0cf157b4fc608a5aa (diff)
downloadpymba-6e75392943a2a40984e609f387145ded8d7c1b53.tar.gz
pymba-6e75392943a2a40984e609f387145ded8d7c1b53.zip
Fixed imports in READMEs
-rw-r--r--README.md10
-rw-r--r--README.txt10
2 files changed, 10 insertions, 10 deletions
diff --git a/README.md b/README.md
index 31c8c81..4a8c484 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Install pymba.
If Vimba and pymba are installed correctly, then the following code should give the installed Vimba version. No camera is needed.
- from vimba import *
+ from pymba import *
with Vimba() as vimba:
print vimba.getVersion()
@@ -25,7 +25,7 @@ If Vimba and pymba are installed correctly, then the following code should give
Discover, open, manipulate, and capture frames from a camera.
- from vimba import *
+ from pymba import *
import time
# start Vimba
@@ -91,7 +91,7 @@ Discover, open, manipulate, and capture frames from a camera.
Get a reference to the Vimba system object and list available system features.
- from vimba import *
+ from pymba import *
with Vimba() as vimba:
# get system object
@@ -105,7 +105,7 @@ Get a reference to the Vimba system object and list available system features.
Get a reference to an interface object and list available interface features.
- from vimba import *
+ from pymba import *
with Vimba() as vimba:
# get list of available interfaces
@@ -129,7 +129,7 @@ Get a reference to an interface object and list available interface features.
### Handling Vimba exceptions
- from vimba import *
+ from pymba import *
try:
with Vimba() as vimba:
diff --git a/README.txt b/README.txt
index 79fe047..733ba7c 100644
--- a/README.txt
+++ b/README.txt
@@ -21,7 +21,7 @@ Testing installation
If Vimba SDK and pymba are installed correctly, then the following code should give the installed Vimba version. No camera is needed.
- from vimba import *
+ from pymba import *
with Vimba() as vimba:
print vimba.getVersion()
@@ -31,7 +31,7 @@ Interacting with cameras
Discover, open, manipulate, and capture frames from a camera.
- from vimba import *
+ from pymba import *
import time
# start Vimba
@@ -98,7 +98,7 @@ Interacting with the Vimba system
Get a reference to the Vimba system object and list available system features.
- from vimba import *
+ from pymba import *
with Vimba() as vimba:
# get system object
@@ -114,7 +114,7 @@ Interacting with transport layer interfaces
Get a reference to an interface object and list available interface features.
- from vimba import *
+ from pymba import *
with Vimba() as vimba:
# get list of available interfaces
@@ -137,7 +137,7 @@ Get a reference to an interface object and list available interface features.
Handling Vimba exceptions
-------------------------
- from vimba import *
+ from pymba import *
try:
with Vimba() as vimba: