[Tutor] Have a very simple question

Rob rob@uselesspython.com
Wed, 7 Aug 2002 16:55:05 -0500


The \ before the ' tells Python that you want the ' to be taken literally
and not as the ' that would end the string.

Does that help?

Rob

> -----Original Message-----
> From: tutor-admin@python.org [mailto:tutor-admin@python.org]On Behalf Of
> Paul Harwood
> Sent: Tuesday, August 06, 2002 2:24 PM
> To: tutor@python.org
> Subject: [Tutor] Have a very simple question
>
>
>
>
> Why does 'doesn\'t' translate to "doesn't" ? This is in the Python
> tutorial but it doesn't say why this happens.
>
> -Paul
>
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>