Rawest raw string literals

Mikhail V mikhailwas at gmail.com
Thu Apr 20 12:03:22 EDT 2017


On 20 April 2017 at 17:55, Chris Angelico <rosuav at gmail.com> wrote:
> On Fri, Apr 21, 2017 at 1:44 AM, Mikhail V <mikhailwas at gmail.com> wrote:
>> What I think: why there is no some built-in function, for example like:
>> s = raw("ffmpeg -i  "\\server-01\D\SER_Bigl__"")
>>
>> which would just need *one* quote sign in the beginning and on the end.
>> Would it be useful, what do you think? I think looks better than triple quote.
>> In the past there were quite a lot additions to string manipulation,
>> probably there is already something like this.
>
> What would be the argument passed to this function?
>
> ChrisA


Yeah that is right, I cant imagine how this would work.
But I think you get the idea- I'd want something dedicated
to input raw strings with cute syntax and *no* escaping
at all.


Mikhail



More information about the Python-list mailing list