.. _ex_right_to_left:

Example: Left to Right worksheets and text
==========================================

Example of how to use Python and the XlsxWriter module to change the default
worksheet and cell text direction from left-to-right to right-to-left as
required by some middle eastern versions of Excel.

Note, this a Python2 unicode version. Remove the ``u''`` to make this work
with Python3. See also the :ref:`unicode_python3.py <ex_http_server3>`.

.. image:: _images/right_to_left.png

.. only:: html

   .. literalinclude:: ../../../examples/right_to_left.py

