In [1]: s = b'\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82'
In [2]: s
Out[2]: b'\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82'
In [3]: print(s)
b'\xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82'
In [4]: print(s.decode('utf8'))
//div[contains(@class, 'class1') and contains(@class, 'class2')]
$ sudo apt-get install python-dev python-pip virtualenvwrapper
$ mkvirtualenv virtname -p /usr/bin/python3
(virtname) $ pip install -r requirements.txt
tag
code list.pop([i])
list.append(x)
import csv
with open('some.csv', newline='', encoding='utf-8') as f:
reader = csv.reader(f)
for row in reader:
print(row)