use six

get python 3  & python 2 compatibility