python-gedcom
python-gedcom copied to clipboard
print_gedcom can write in any output stream
print_gedcom has been modified such that in can write in any output stream. The stream is given in argument (file). Default is sys.stdout so it is backward compatible. 'flush' argument (default = False) is added with same semantics than for print function.