On Aug 3, 2007, at 10:22 PM, Ricardo Aráoz wrote:
>> Dunno - never used ODBC. What backend are you connecting to?
>
> I connect to SQLserver through ODBC using sqlStringConnect(). But
> every
> reference to odbc connections asks for a Data Source. What do you
> use in
> Dabo to connect to the backend?
We use the dbapi-compliant module pymssql. Then it's just like
connecting to anything else:
ci = dabo.db.dConnectInfo(DbType="MsSQL", Host="myserver", User="ed",
PlainTextPassword="whatever", Database="mydatabase")
conn = dabo.db.dConnection(ci)
> Not there yet, still going through learning Python (slow, not a lot of
> free time right now). Beautiful language, loved defining lists by
> comprehension.
The .Net people are all ga-ga over LINQ, as if it were something
new. Been doing that in Python for years!
> As soon as I can walk by myself in the language I'll take
> a deep look at Dabo.
Sounds like a plan.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.