Rawest raw string literals

Chris Angelico rosuav at gmail.com
Thu Apr 20 13:27:04 EDT 2017


On Fri, Apr 21, 2017 at 2:26 AM,  <breamoreboy at gmail.com> wrote:
> I find this:-
>
> s = r"ffmpeg -i  '\\server-01\D\SER_Bigl.mpg' "
>
> vastly superior.

It's semantically different though. I don't know whether single quotes
are valid in that context, on Windows.

ChrisA



More information about the Python-list mailing list