Traceback (most recent call last):
File "<stdin>", line 1, in <module>
jconn = _jdbc_connect(jclassname, jars, libs, *driver_args)
raise _RUNTIMEEXCEPTION.PYEXC("Class %s not found" % name)
I figured out the problem. With Macs, you can't use ";" as a separator and need to change it to ":". Changing the line
classpath = "~/tdgssconfig.jar:~/terajdbc4.jar"
did the trick. For anyone else interested, I also used
JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"
in the terminal so that I wouldn't have to worry about it in the python console.