Pystring_fromString alternative in python3 I am trying to convert my existing Python 3 code from Python 2.