Re: Python Shell

2011-01-18 Thread Christoph Holtermann
Hello ! How far into Python are you? Somewhere in the middle ;-) It should be pretty easy to write an interpreter for a very simple language like your last suggestion. You would need to decide how you wanted it to work (how will you refer to the objects?). Also, you would need to decide how

Re: Python Shell

2011-01-18 Thread Christoph Holtermann
Hello Forest ! Hi Christoph, On Mon, Jan 10, 2011 at 11:04:50PM +0100, Christoph Holtermann wrote: My interest in gnucash is to have a python-shell-environment which lets me easily access and display data. I have written some things for myself like simple functions PrintTransaction

Re: Python Shell

2011-01-18 Thread Christoph Holtermann
Hello ! I thought a bit about about the displaying problem. It seems to me that displaying is a task which could go into a seperate module. This modulecould provide a function for example display(object). It would also add a function object.display() to every object it knows. For example

Re: Python Shell

2011-01-18 Thread Anthony Dardis
I'm a little confused here. If you are writing something that lets you, the user, type stuff in to cause the machine to tell you things about your GnuCash data, then there's really not a question about how to program the displaying: that's a decision to make about the thing you are writing. Unless

Python Shell

2011-01-10 Thread Christoph Holtermann
Hello and a happy new year ! My interest in gnucash is to have a python-shell-environment which lets me easily access and display data. I have written some things for myself like simple functions PrintTransaction(Transaction) and so for other objects. I use IPython for that purpose. I would

Re: Python Shell

2011-01-10 Thread Anthony Dardis
On Mon, 10 Jan 2011 17:04:50 -0500, Christoph Holtermann c.holterm...@gmx.de wrote: Hello and a happy new year ! My interest in gnucash is to have a python-shell-environment which lets me easily access and display data. I have written some things for myself like simple functions