[moneydance] using Jython and Moneydance

Ric Werme ewerme at comcast.net
Tue Feb 5 20:46:16 EST 2008


Ronald Thompson asked:
> > 5) Click on the gear again an now you should see "Python interface".  Click.
> >
> > 6) That will open the "Python console" window.
> >
> >     -Ric Werme
> >   
> So what is the Python console for?

When I was "shopping around" for a new language to replace my barely
functional "xbase" system, I settled on MySQL and Python.  I wanted to
use Python for more than that, and had a list of several attributes
I wanted.  One of the them was for an "immediate mode" where I could
type in a line or two of code and get results.  Shells do that, a lot
of older languages do that like Logo, Forth, GE Basic, gwbasic, etc.

That's one of the key things it's used for.  Python programmers often
don't bother with an IDE, we just try out some code and copy what works
to the source file.  I think it could be really good with system test
software and could allow someone faced with debugging "Test 25 subtest
13 failed: file size not 0" to executes test 25's initialization, execute
any subtests that subtest 13 needs to have run, and then execute the
bits of subtest 13 (with variations) to diagnose the problem.

I'm not sure if that's exactly what you were asking, but my example
from a few messages back yesterday shows a couple lines of code
accessing a Moneydance account.

   -Ric




More information about the moneydance-info mailing list