ur'foo' syntax under Python 3

L

Lele Gaifax

Hi all,

I'm using Python 3.3, and I was surprised to realize that it does not
support the old Python 2 syntax ur"literal-raw-unicode-strings".

Is there any trick to write such literals in a Python2+3 compatible
source?

Is there a rationale behind the invalid syntax or is it just a glitch?

thanks in advance,
bye, lele.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top