Re: [GNC] Access the Company Name in python

2020-02-16 Thread Raymond Smith
I don't know if this is a good/robust solution, but I have been playing with parsing gnucash xml files with python recently. This is how I would do it. This assumes a file in the same directory named 'test_business.gnucash' that is saved with compression. If you save without compression, you can m

[GNC] Access the Company Name in python

2020-01-30 Thread gcash
What is the most straight forward way to access (read) the company name in python. I can see it the XML, but that seems a little fragile. I'm talking about the company name entered in File->Properties->Book Option->Business not a Vendor or Customer Name. Could somebody give me a quick pointer