Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53890

Re: a gift function and a question

From random832@fastmail.us
Subject Re: a gift function and a question
Date 2013-09-09 16:20 -0400
References <1378757459.6005.55.camel@debian>
Newsgroups comp.lang.python
Message-ID <mailman.194.1378758027.5461.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: a gift function and a question random832@fastmail.us - 2013-09-09 16:20 -0400

csiph-web