Turn Char Array Into String Python Replace Function