No escaping is not something possible, in your suggested syntax ") is ambigous. E.g. raw("abcd")") is ambigous.

Any sequence delimited string involves escaping, the only thing that wouldnt would be size-defined strings but they are impractical.

Le 20/04/2017 à 18:03, Mikhail V a écrit :
On 20 April 2017 at 17:55, Chris Angelico <ros...@gmail.com> wrote:
On Fri, Apr 21, 2017 at 1:44 AM, Mikhail V <mikhail...@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

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to