Python bindings for Windows

2013-06-09 Thread Jonas Lippuner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, Unfortunately, I am forced to use GnuCash under Microsoft Windows in some cases. Are the Python bindings available for Windows? Thanks, Jonas - -- My email is signed and I encrypt email on request. To verify my signature or send me enc

Creating new customer with Python bindings and SQL backend

2013-06-07 Thread Jonas Lippuner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello guys, I am trying to create a new customer using the Python bindings. I am using an SQL backend (PostgreSQL). I follow the examples and do new_customer = Customer(book, '0', USD, 'foo bar') Of course, the currency USD is correctly defined. Th

Re: Creating GUID

2013-06-05 Thread Jonas Lippuner
al Message Subject: Re: Creating GUID From: Tom Lofts To: 'Jonas Lippuner' Cc: gnucash-devel@gnucash.org Date: Wed 05 Jun 2013 01:22:31 AM PDT > Hi Jonas, > > This is another recent addition, so again you'll need at least > Gnucash 2.5.1. This introduces a GUIDString c

Creating GUID

2013-06-05 Thread Jonas Lippuner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi guys, If I know the string of a GUID, how do I create the corresponding GUID object in the Python bindings for Gnucash? The only thing I got to run is guid = GUID() string_to_guid("a3817efd668585e2f4431e2996683fd1", guid.__weakref__) But this do

Re: List all customers with Python bindings

2013-06-04 Thread Jonas Lippuner
; -Original Message- From: > gnucash-devel-bounces+dev=loftx.co...@gnucash.org > [mailto:gnucash-devel-bounces+dev=loftx.co...@gnucash.org] On > Behalf Of Jonas Lippuner Sent: 03 June 2013 09:57 To: > gnucash-devel@gnucash.org Subject: List all customers with Python > bindings > >

List all customers with Python bindings

2013-06-03 Thread Jonas Lippuner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear Developers, How do I get a list of all customers (or all vendors, invoices, bills etc.) using the Python bindings? I see from examples how I can get a specific customer using book.LookupByID, but this requires that I know the GUID of the customer