📌  相关文章
📜  python代码示例中的阿拉伯语

📅  最后修改于: 2022-03-11 14:47:05.148000             🧑  作者: Mango

代码示例1
import arabic_reshaper

text_to_be_reshaped =  'اللغة العربية رائعة'

reshaped_text = arabic_reshaper.reshape(text_to_be_reshaped)

rev_text = reshaped_text[::-1]  # slice backwards 

print(rev_text)