Allows you to convert the LastPass export to a KeePass XML import.
Python 2.6 (sys, csv, time, datetime, itertools, re, xml)
KeePassXML
python lastpass2keepass.py exportedTextFile
python test_generator.py
python lastpass2keepass.py test_passwords.txt
Then import the "test_passwords.txt.export.xml" into KeePassx via: File --> Import from... --> KeePassX XML (*.xml)
This is UTF-8 compliant on *nix systems, with Python 2.6.
Python XML processing with lxml, John W. Shipman, http://infohost.nmt.edu/tcc/help/pubs/pylxml/. ElementTree Overview, Fredrik Lundh, http://effbot.org/zone/element-index.htm.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.