Python3.x related changes added

Python3.x related changes added