Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.134 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.74; '*S*': 0.01; 'output': 0.05; 'cc:addr :python-list': 0.11; 'python': 0.11; 'numpy': 0.16; 'subject:python': 0.16; '(the': 0.22; '>>>': 0.22; 'input': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; '>>>': 0.24; 'cc:2**0': 0.24; 'equivalent': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'libraries': 0.31; 'url:python': 0.33; 'could': 0.34; 'received:209.85': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'skip:- 10': 0.38; 'url:mail': 0.40; 'skip:n 30': 0.60; 'url:help': 0.67; 'percent': 0.68; '8bit%:100': 0.72; '100': 0.79; 'hi,you': 0.84; 'skip:\xe0 20': 0.84; 'url:reference': 0.84; 'divided': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:cc:content-type; bh=dc3I+Rt5M6pTF2wobkVpkswG33X+mC9IZj1HpcxsIvA=; b=t4/Z9V8C4W2e5RDzKHLuozTTbM8XD3XUXZ26LYllLnSLt/EWkff27tthjHR0udcxJP 7kYdCziDjrHqlZI5lS9691F7ZIWxXCCemRzrk9rzVxTFxL1h9KXGI8ZtMA5kATaOSARL tZ4fI2Pzk/Pw1rNHTj8i1aLPFl4YtJ2ox4glzaP7fvHq4F/dqD2GyVwHyE44gXlob8pj LvETFW9IJVQbGC4FlrGxOmNQnDv5z3Cdnoehv9llUM8XtwCNQLF/shRBX9TRmq+OiFq7 MdUaHT6hXQYq7GXnGqz47/u/0A4wsq67ZHxaV4tuEusGdbUj/jNZcHdEDuxwFLrsJuL2 oOEA== MIME-Version: 1.0 X-Received: by 10.224.223.5 with SMTP id ii5mr7031478qab.94.1366890519460; Thu, 25 Apr 2013 04:48:39 -0700 (PDT) In-Reply-To: <51790969.7000700@amachu.me> References: <51790969.7000700@amachu.me> Date: Thu, 25 Apr 2013 13:48:39 +0200 Subject: Re: Libroffice PMT equivalent in python From: Vlastimil Brom Cc: python Content-Type: multipart/alternative; boundary=20cf3074bb00dc062404db2dff73 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 77 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366890522 news.xs4all.nl 15910 [2001:888:2000:d::a6]:39251 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44331 --20cf3074bb00dc062404db2dff73 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2013/4/25 =E0=AE=86=E0=AE=AE=E0=AE=BE=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AF=81 <= amachu@amachu.me> > Hi, > > Are there equivalent in any Python libraries that could match function > like PMT in libreoffice? > > Refer: https://help.libreoffice.org/Calc/Financial_Functions_Part_Two#PMT > > -- > > Amachu > -- > http://mail.python.org/mailman/listinfo/python-list > Hi, you may check numpy http://www.numpy.org/ http://docs.scipy.org/doc/numpy/reference/generated/numpy.pmt.html >>> import numpy >>> numpy.pmt(1.99/100/12,36,25000) -715.95533443739942 >>> (The input in percent is to be divided by 100 and the output could be rounded separately, if needed.) hth, vbr --20cf3074bb00dc062404db2dff73 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



2013/4/25 =E0=AE=86=E0=AE=AE=E0=AE=BE=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0= =AF=81 <amachu@amachu.me>
Hi,

Are there equivalent in any Python libraries that could match function
like PMT in libreoffice?

Refer: https://help.libreoffice.org/Calc/Financial_Fu= nctions_Part_Two#PMT

--

Amachu
--
http://mail.python.org/mailman/listinfo/python-list

Hi,
you may check numpy
=

>>> import numpy
>>> numpy.pmt(1.9= 9/100/12,36,25000)
-715.95533443739942
>>>

(The input in percent is to be divided by 100 and the output could= be rounded separately, if needed.)
=C2=A0
hth,
=C2=A0vbr


--20cf3074bb00dc062404db2dff73--