Арабские буквы и цифры PythonPython

Программы на Python
Гость
Арабские буквы и цифры Python

Сообщение Гость »

Код: Выделить всё

for i in t.split('\n'):
arabic_string = arabic_reshaper.reshape(i)
arabic_string = arabic_string[::-1]
w = pdf.get_string_width(arabic_string) + 6
pdf.cell(w, 9, arabic_string, 0, 1, 'C', 0)
the problem is that numpers in the var t is flipt too
like 48 -> 84
I need a soloution pls


Источник: https://stackoverflow.com/questions/781 ... ers-python

Вернуться в «Python»