Unicode literals that work in python 3 and 2
Unicode literals that work in python 3 and 2 Question: So I have a python script that I’d prefer worked on python 3.2 and 2.7 just for convenience. Is there a way to have unicode literals that work in both? E.g. #coding: utf-8 whatever = ‘שלום’ The above code would require a unicode string in …
Total answers: 2