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

Jason Qian jqian at tibco.com
Sat Jan 27 15:17:45 EST 2018


HI

   I have a string that contains \r\n\t

   [Ljava.lang.Object; does not exist*\r\n\t*at com.livecluster.core.tasklet


   I would like to  print it as :

[Ljava.lang.Object; does not exist
     tat com.livecluster.core.tasklet

  How can I do this in python print ?


Thanks

On Sat, Jan 27, 2018 at 3:15 PM, Jason Qian <jqian at tibco.com> 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
>
>
>



More information about the Python-list mailing list