Support Python 3.x

Convert Code , Supported Python 3.x