Please help on print string that contains 'tab' and 'newline'
breamoreboy at gmail.com
breamoreboy at gmail.com
Sat Jan 27 15:55:45 EST 2018
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.
More information about the Python-list
mailing list