The SUB-20 can be accessed in a Python script executed under Linux or Mac OS X. To achieve this, makefile which is used to build the libsub.a static library should be modified for building a shared object instead, see below
#-------------
# Linker Flags
#-------------
LDFLAGS += -L/usr/local/lib -lusb-1.0
libsub.so: libsub.o
$(CC) $(LDFLAGS) -shared -Wl,-soname,$@ -o $@
The resulting libsub.so shared object can be loaded and used in a Python script under Linux or Mac OS X
SUB-20 Python support under Linux and Mac OS
Moderator: serg