Sorry for resurrecting an old thread, but it addresses what I am trying to do and I can’t get it to work at present. I think I have followed the instructions, but it is still not working.
I have run the
EditPythonScript command in Rhino and have identified one of the folders (by going into Tools > Options:
This means that in this folder I now have the DLL and the
sqlite3 folder, inside which is the
__init__.py file which I have edited…
from dbapi2 import *
I then create a component and put in
However, this does not work… I get an interesting error:
Runtime error (SyntaxErrorException): unexpected token ''
line 1, in script
I wonder if I should be adding the sqlite3 folder to a python path?