Beispiel #1
0
print "GPhoto version (short):", ' '.join(gphoto2.library_version(False))
print "GPhoto version (long):"
for item in gphoto2.library_version(True):
    print "   ", item

#print dir(gphoto2)

print """
CAUTION:
The following is still very much work in progress with no one working
very much on it and may thus be in a non-working state or inconsistent.
"""

print("Creating camera...")
cam = gphoto2.camera()

# ports=gphoto2.ports()
# ports.load()
# print ports.count(), " ports trouves"
# for port in range(0,ports.count()):
#   print ports[port]
#
#
# print("Setting model...")
# abl=gphoto2.abilities_list()
# abl.load()
#
# print("Detection des cameras...")
# dt=abl.detect(ports)
# print dt.count()
Beispiel #2
0
print "GPhoto version (short):", ' '.join(gphoto2.library_version(False))
print "GPhoto version (long):"
for item in gphoto2.library_version(True):
	print "   ", item

#print dir(gphoto2)

print """
CAUTION:
The following is still very much work in progress with no one working
very much on it and may thus be in a non-working state or inconsistent.
"""

print("Creating camera...")
cam=gphoto2.camera()

# ports=gphoto2.ports()
# ports.load()
# print ports.count(), " ports trouves"
# for port in range(0,ports.count()):
#   print ports[port]
#
#
# print("Setting model...")
# abl=gphoto2.abilities_list()
# abl.load()
#
# print("Detection des cameras...")
# dt=abl.detect(ports)
# print dt.count()
Beispiel #3
0
 def test_030_camera(self):
     import gphoto2
     print("Creating camera...")
     self.cam = gphoto2.camera()
     pprint(dir(self.cam))
Beispiel #4
0
 def test_030_camera(self):
     import gphoto2
     print("Creating camera...")
     self.cam = gphoto2.camera()
     pprint(dir(self.cam))