Hi Ed!
I guessed it might be you who answered ;c) see below...
Ed Leafe wrote:
> On Aug 3, 2007, at 11:44 AM, Ricardo Aráoz wrote:
>
>> got some questions for python gurus in fox terms.
>> How do I do set defa to... in py?
>> Is there a getdir() and/or getfile() in some module?
>
> os.getcwd() gets the current working directory, os.chdir() changes
> to a different directory. getfile() is a GUI command, so it isn't in
> Python itself. In Dabo, you'd call dabo.ui.getFile().
>
>> All the docs about ODBC connections to my DB require the use of a Data
>> Source. Is there a way to send just a connection string as I would
>> with
>> sqlStringConnect() without any reference to a Data Source?
>
> 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?
>
>> Do I HAVE to reference a Data Source in Dabo too?
>
> If you mean a Windows connection definition, no. With all the
> backends we support, you pass the connection parameters, or define
> them in an XML file.
>
Thanks.
Not there yet, still going through learning Python (slow, not a lot of
free time right now). Beautiful language, loved defining lists by
comprehension. As soon as I can walk by myself in the language I'll take
a deep look at Dabo.
Cheers.
> -- Ed Leafe
> -- http://leafe.com
> -- http://dabodev.com
>
>
>
>
[excessive quoting removed by server]
_______________________________________________
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.