On Saturday, January 27, 2018 at 8:16:58 PM UTC, Jason Qian wrote:
> HI
> 
>    I am a string that contains \r\n\t
> 
>    [Ljava.lang.Object; does not exist*\r\n\t*at com.livecluster.core.tasklet
> 
>    I would like it print as :
> 
> [Ljava.lang.Object; does not exist
>   tat com.livecluster.core.tasklet

Unless I've missed something just call print on the string.

>>> print('[Ljava.lang.Object; does not exist*\r\n\t*at 
>>> com.livecluster.core.tasklet')
[Ljava.lang.Object; does not exist*
        *at com.livecluster.core.tasklet

--
Kindest regards.

Mark Lawrence.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to