delete this row, and replace `xrange` with `range`, replace `string_type` with `str`
delete this row, and replace
xrangewithrange, replacestring_typewithstr