it’s an indication of unicode string. similar to r''
for raw string.
>>> type(u'abc')
<type 'unicode'>
>>> r'ab\c'
'ab\\c'
More Related Contents:
- What does the ‘b’ character do in front of a string literal?
- Convert a Unicode string to a string in Python (containing extra symbols)
- removing emojis from a string in Python
- How to check if a string in Python is in ASCII?
- Suppress the u’prefix indicating unicode’ in python strings
- Python str vs unicode types
- Python __str__ versus __unicode__
- What is the difference between encode/decode?
- byte string vs. unicode string. Python
- How is unicode represented internally in Python?
- How do I get str.translate to work with Unicode strings?
- How to detect string byte encoding?
- Python string to unicode [duplicate]
- What is internal representation of string in Python 3.x
- How do I concatenate items in a list to a single string?
- What is the best way to remove accents (normalize) in a Python unicode string?
- Fast punctuation removal with pandas
- Checking whether a string starts with XXXX
- Stripping non printable characters from a string in python
- How can I check if character in a string is a letter? (Python)
- How can I convert each item in the list to string, for the purpose of joining them? [duplicate]
- How can I tell if a string repeats itself in Python?
- Python – How can I pad a string with spaces from the right and left?
- How do I specify a range of unicode characters
- How to filter (or replace) unicode characters that would take more than 3 bytes in UTF-8?
- How do I wrap a string in a file in Python?
- python: unicode in Windows terminal, encoding used?
- lower() vs. casefold() in string matching and converting to lowercase
- How can I convert string values from a dictionary, into int/float datatypes?
- Python 3 chokes on CP-1252/ANSI reading