use str within Python3

use str within Python3