Please help on print string that contains 'tab' and 'newline'

Prahallad Achar acharbly at gmail.com
Sat Jan 27 21:18:18 EST 2018


In python 3. X
Use. Decode and. Encode

On 28 Jan 2018 1:47 am, "Jason Qian via Python-list" <python-list at python.org>
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
> --
> https://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list