This short script is meant to merge two Keepass 1.x or KeepassX database (.kdb). To use it put all the database exported as xml in the same dir as the .exe or .py. To export a Keepass DB go to Menu -> Export -> XML Run it. The script take the most recent entry in case of conflict. The conflicts will be shown on the console output. The merged database will be written as merge.xml. You add to create a new Keepass DB then Menu-> Import -> XML Keepass 1.x
DON'T FORGET TO DELETE THE XML AS THE PASSWORD ARE IN CLEAR INSIDE.