ODBC, mxODBC problem
rockjock810 at my-deja.com
rockjock810 at my-deja.com
Sat Feb 19 14:34:39 EST 2000
I didn't have any problems making it work on the same WinNT machine
using Perl. And yes, the DSN was defined in the ODBC manager. I suspect
that Python seems to treat WinNT network shares rather odd. Maybe a
little enlightenment on how it interacts with other servers would do
the trick. I tried this script:
n=open(r"\\www\c$\cgi-bin\test.dat","r+")
and I've been getting "Permission denied" messages. I wonder what WinNT
account Python uses and how I should share the said file so I can open
it from the machine where the script originates.
In article <38ae3017 at omega>,
"Cristian Echeverria" <echeverria at interactiva.cl> wrote:
> Of course you need to create DSN in your ODBC manager
> called "express" pointing to your database
>
> Cristian Echeverria <echeverria at interactiva.cl> escribió en el
mensaje de
> noticias 38ae2f29 at omega...
> > If you are on Win9X try this
> > db = ODBC.Windows.Connect("express","","",0)
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list