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


Groups > comp.lang.python > #53890

Re: a gift function and a question

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <random832@fastmail.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'constructor': 0.09; 'received:internal': 0.09; 'subject:question': 0.10; '16:10,': 0.16; 'function?': 0.16; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:66.111.4.27': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'mon,': 0.24; 'question': 0.24; 'header:In-Reply- To:1': 0.27; 'to:2**1': 0.27; 'decimal': 0.31; 'sep': 0.31; 'received:66': 0.35; 'received:10': 0.37; 'handle': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.63; 'different': 0.65; 'reverse': 0.68; '2013,': 0.91
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:subject:date:in-reply-to:references; s=mesmtp; bh= 7926Yml5tGgdLU5+gexfvWrzK0Y=; b=HdvUIcIpGe8MyapPlHtGeYKBeQyPPKcX ShMkFy3vBgTg/3r+vFnPK9wEO5CIE3pe30wn8X67p1+JEahbpw0eX8M9rxLgI74d k39o4qbDjdznKEnRrADIeKX6VOjPm+EDSqzSD5wgOnYbppryWgWO4UNEatR1svra Hd588xXPdbA=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=smtpout; bh=7926Yml5tGgdLU5+gexfvWrzK0Y=; b=XYHYF oAzXuQJZszYZBbi3SRgTPLtRer2QljvwwLkSswGRaV8R6HTiYr2azjYZQRHXl1ea Ij6nUjpccOVFhWHPkIVRkYGN6hqg9nIS6aWD7TPpOeE6skmhy/7p0SBMB8dGX/Pd GhE22OSR3V1SpAnNLVcOW0/hxpQ92QFjgG9ZTA=
X-Sasl-Enc 1wfH7+LHtCXUm/eWW7aEVEjn0im7gL1YgUZCiqHPPCbH 1378758025
From random832@fastmail.us
To Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>, python-list@python.org
MIME-Version 1.0
Content-Transfer-Encoding 7bit
Content-Type text/plain
X-Mailer MessagingEngine.com Webmail Interface - ajax-15090c31
Subject Re: a gift function and a question
Date Mon, 09 Sep 2013 16:20:25 -0400
In-Reply-To <1378757459.6005.55.camel@debian>
References <1378757459.6005.55.camel@debian>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.194.1378758027.5461.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378758027 news.xs4all.nl 15910 [2001:888:2000:d::a6]:35361
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53890

Show key headers only | 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