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


Groups > comp.lang.python > #53890 > unrolled thread

Re: a gift function and a question

Started byrandom832@fastmail.us
First post2013-09-09 16:20 -0400
Last post2013-09-09 16:20 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#53890 — Re: a gift function and a question

Fromrandom832@fastmail.us
Date2013-09-09 16:20 -0400
SubjectRe: a gift function and a question
Message-ID<mailman.194.1378758027.5461.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web