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?

> 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.

-- 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.

Reply via email to