a gift function and a question

random832 at fastmail.us random832 at fastmail.us
Mon Sep 9 16:20:25 EDT 2013


On Mon, Sep 9, 2013, at 16:10, Mohsen Pahlevanzadeh wrote:
> My question is , do you have reverse of this function? persianToInteger?

The int constructor is able to handle different forms of decimal
numerals directly:

>>> int('\u06f3\u06f4\u06f5\u06f5')
3455



More information about the Python-list mailing list