Steven Walter
3ed6b4dab9
latex_invoices.py: write takes string not bytes
...
write() fails if you give it bytes, so don't encode
2021-08-01 22:17:41 -04:00
Steven Walter
ba4852a9da
latex_invoices.py: use default locale
...
Don't hardcode a locale. Empty string means to use the user's locale
(e.g. $LANG)
2021-08-01 22:17:11 -04:00
Steven Walter
ad3895fa07
latex_invoices.py: don't decode() a str
...
These functions all return str's not bytes. Therefore there is no need
to decode them.
2021-08-01 22:16:33 -04:00
c-holtermann
0434acbe10
reformat two python example scripts with black
...
use black python code formatter on latex_invoices.py and gncinvoice_jinja.py
2020-06-21 16:23:32 +02:00
c-holtermann
ee77b713c2
update example scripts to SessionOpenMode
2020-06-21 16:23:32 +02:00
Geert Janssens
15a35e6a3b
Housekeeping - replace plenty of http links with https
...
There are more, but these are most common ones.
There are also a number of urls that don't behave well when https, so those are skipped
At some point I have also started marking non-working URLs as [DEAD LINK], though
that's not a full coverage.
2019-06-06 15:52:30 +02:00
c-holtermann
b06801185c
shebang should be specific to python version (PEP394)
...
preferred form is #!/usr/bin/env python3 as gnucash now only works with
python3
2019-04-04 17:48:42 +02:00
Frank H. Ellenberger
0467dd0b92
Fix several URLs in documentation parts
...
We have no longer svn, but 2 doxygen branches.
I don't remember, when Mailman moved from www to lists.
2018-11-03 10:15:19 +01:00
Christoph Holtermann
34fa18f04e
additional fixes for python3
2018-09-21 09:27:17 +02:00
John Ralls
bea89a50ac
More python 3 fixups.
2018-03-22 15:19:59 -07:00
Geert Janssens
83d14e1c1c
Restructure the src directory
...
It is split into
- /libgnucash (for the non-gui bits)
- /gnucash (for the gui)
- /common (misc source files used by both)
- /bindings (currently only holds python bindings)
This is the first step in restructuring the code. It will need much
more fine tuning later on.
2017-08-10 18:45:00 +02:00