[Tutor] Using split with a backslash

Kent Johnson kent37 at tds.net
Wed Apr 2 18:23:30 CEST 2008


Bryan Fodness wrote:
> Thanks everyone,
> I was trying it this way.
>  
> x1, x2 = LeafJawPositions.split(r'\\')

That is a string containing *two* backslashes.

Kent


More information about the Tutor mailing list