Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

arabic in python

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #arabic #python
ADD COMMENT
Topic
Name
6+5 =