Re: [Virtuoso-users] executing sql from python script

2009-05-26 Thread Hugh Williams
Hi Kurt, This is actually documented for the Virtuoso open source release at: http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VOSODBCSetup Shall have this added to the online documentation as it is equally valid for the commercial release ... Best Regards Hugh Williams Profes

Re: [Virtuoso-users] executing sql from python script

2009-05-26 Thread Kurt J
Hi Patrick, > Add the following lines to your /etc/odbc.ini > >        [Local Virtuoso] >        Driver  = /PREFIX/lib/virtodbc_r.so >        Address = localhost: > > where PREFIX is replaced by the full path you installed your virtuoso > and also assuming you use port in virtuoso.ini (is

Re: [Virtuoso-users] executing sql from python script

2009-05-22 Thread Virtuoso Maintainer
Hi Kurt, I have a python script on the same machine as VOS but running as a cherrypy server not in virtuoso. I want to execute sql statements from the python. What's my best option? Seems there's not a free ODBC implementation in python - am i wrong? Now it seems the best option is to write

[Virtuoso-users] executing sql from python script

2009-05-22 Thread Kurt J
Hi List, I have a python script on the same machine as VOS but running as a cherrypy server not in virtuoso. I want to execute sql statements from the python. What's my best option? Seems there's not a free ODBC implementation in python - am i wrong? Now it seems the best option is to write sq