add python 3 support

README is updated to python 3
Same comment here.  No need to turn entry.items to a list.