On Wed, 27 Jun 2007 11:59:29 -
Rob De Almeida <[EMAIL PROTECTED]> wrote:
> On Jun 27, 6:41 am, andrea <[EMAIL PROTECTED]> wrote:
> > I would like to have a useful rappresentation of infinite, is there
> > already something??
>
> from numpy import inf
>
$ python
Python 2.4.4 (#2, Apr 5 2007
On Fri, 29 Jun 2007 00:47:16 -0300
"Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> __hash__ and equality tests are used by the dictionary
> implementation, and the default implementation is OK for immutable
> objects.
That is probably why inf == inf yields True.
In this unique case, I do not lik
On Thu, 28 Jun 2007 23:20:30 -0500
Robert Kern <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Does it differ from the
> > built-in inf?
>
> What built-in inf?
$ python
Python 2.4.4 (#2, Apr 5 2007, 20:11:18)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "
On Sat, 7 Feb 2009 01:06:06 -0800 (PST)
Rhamphoryncus wrote:
> On Feb 6, 10:21 pm, rdmur...@bitdance.com wrote:
> > Quoth Mensanator :
> > > def flatten(listOfLists):
> > > return list(chain.from_iterable(listOfLists))
> >
> > Python 2.6.1 (r261:67515, Jan 7 2009, 17:09:13)
> > [GCC
On Sat, 7 Feb 2009 12:50:22 -0800 (PST)
Rhamphoryncus wrote:
> On Feb 7, 1:39 pm, wrote:
> > On Sat, 7 Feb 2009 01:06:06 -0800 (PST)
> > Rhamphoryncus wrote:
> >
> > > What usecase do you have for such inconsistently structured data?
> >
> > I have a similar use case in pyspread, which is a Pyt
On Sun, 7 Dec 2008 00:29:13 -0800 (PST)
suku <[EMAIL PROTECTED]> wrote:
> HI folks...
>
> i need some suggestion on making graphs. Will this be possible
> with normal python setup file or do i need to download add ons for
> that..
>
>help me out
rpy
Martin
--
http://mail.python.or
On Fri, 19 Dec 2008 08:33:28 +1000
"James Mills" wrote:
> > The dict that I tried out is of the type:
> >
> > {(1,2,3): "2323", (1,2,545): "2324234", ... }
> >
> > It is too slow for my application when it grows. One slicing
> > operation with list comprehensions takes about 1/2 s on my computer
On Thu, 18 Dec 2008 18:04:19 -0600
Robert Kern wrote:
> Martin Manns wrote:
>
> > Should I use another type of matrix in scipy.sparse? If yes which?
>
> If you have a benchmark, you might just want to try all of them.
> Should be just a matter of a small script. Block Sparse Row
> (bsr_matrix)
Hi
I would like to check if an index is in a slice or not without
iterating over the slice.
Something like:
>>> isinslice(36, slice(None, 34, -1))
True
I would like to use the batteries if possible.
However, I looked in the docs, pypi and in Usenet without luck.
Does anyone have a solution?
M
Hi
I would like to check if an index is in a slice or not without
iterating over the slice.
Something like:
>>> isinslice(36, slice(None, 34, -1))
True
I would like to use the batteries if possible.
However, I looked in the docs, pypi and in Usenet without luck.
Does anyone have a solution?
M
On Thu, 1 Jan 2009 11:34:53 -0800 (PST)
ajaksu wrote:
> http://article.gmane.org/gmane.comp.python.python-3000.devel/8732
I will build upon this code.
Thanks for your help
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I just stumbled upon the following issue (I am running Debian):
$ python
Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> [2, None].count(None)
1
>>> from gmpy import mpz
>>> [mpz(2), None].count
Pyspread 0.0.10 has finally been released.
About:
--
Pyspread is a 3D spreadsheet application. Each cell accepts a Python
expression and returns an accessible object. Python modules are usable
from the spreadsheet table without external scripts.
Changes:
+ Code completely re
On Thu, 26 Mar 2009 12:42:01 -0400 (CLT)
"andrew cooke" wrote:
> that's cute, but if you show them 2.6 or 3 it's even cuter:
>
> >>> from operator import add
> >>> class Vector(list):
> ... def __add__(self, other):
> ... return map(add, self, other)
> ...
> >>> x = Vector([1,2])
> >>> x+x
On Fri, 17 Apr 2009 23:40:32 -0700 (PDT)
bearophileh...@lycos.com wrote:
> Paul McGuire:
>
> >xrange is not really intended for "in" testing,<
>
> Let's add the semantic of a good and fast "in" to xrange (and to the
> range of Python3). It hurts no one, allows for a natural idiom
> (especially w
Hi
I am looking for a robust, cross-platform way to determine if I am on a
32 bit or a 64 bit Python and if the numpy installation is also 32 bit
or 64 bit.
I have googled a bit and found some platform specific solutions but
nothing general.
The solution should work with different versions of Py
On Mon, 25 May 2009 23:54:45 +0200
"Martin v. Löwis" wrote:
> > I am looking for a robust, cross-platform way to determine if I am
> > on a 32 bit or a 64 bit Python and if the numpy installation is
> > also 32 bit or 64 bit.
>
> You can find out the size of a pointer with struct.calcsize("P") *
pyspread 0.0.8 has been released.
About:
pyspread is a spreadsheet that accepts a pure python expression in
each cell.
New features:
New macro dialog that allows defining python functions, which can be
used in the grid.
Bug fixes within the copy paste and print code.
Highlights:
+ Numpy high pe
On Sat, 02 Aug 2008 13:39:25 -0400
"Colin J. Williams" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > pyspread 0.0.8 has been released.
> Are you planning any documentation?
Actually, yes.
0.0.10 will feature some docs.
Any help writing and doing the layout is highly appreciated ;-)
On Fri, 13 Nov 2009 02:40:28 -0800 (PST)
Jonathan Hartley wrote:
> Even my very limited understanding of the issues is enough to see that
> the idea is far from trivial.
[...]
> In the long run, to be useful for real projects, the bootstrapper
> would need to manage some nasty details:
> * diff
On Sat, 11 Jul 2009 15:33:32 -0700 (PDT)
Daniel Platz wrote:
> thanks for your repleys. I have tried matplotlib but it is extremely
> slow. I think it is more optimized for good looking plots instead of
> speed. I do not know the Python bindings of gnuplot and Veusz. To
> clarify the issue again,
Hi
Since I have been told in this group to post wxPython related topics in
the wxPython-users mailing list instead of here, I just tried doing
that.
However, I always get an error message back when using gmane.
Mailing directly, there is no error message but the message does not
appear in the lis
Hi
Since I have been told in this group to post wxPython related topics in
the wxPython-users mailing list instead of here, I just tried doing
that.
However, I always get an error message back when using gmane.
Mailing directly, there is no error message but the message does not
appear in the lis
On Mon, 07 Sep 2009 16:06:11 -0400
Terry Reedy wrote:
> mma...@gmx.net wrote:
> > Hi
> >
> > Since I have been told in this group to post wxPython related
> > topics in the wxPython-users mailing list instead of here, I just
> > tried doing that.
> >
> > However, I always get an error message b
On Mon, 7 Sep 2009 13:04:39 -0400
Philip Semanchuk wrote:
> Did you subscribe to the mailing list before sending a message to it?
I did not subscribe the gmane account when I tried out posting via
gmane.
I am pretty sure that I already subscribed to the group in the past.
Nevertheless, I subsc
On Mon, 7 Sep 2009 22:51:47 +0200
mma...@gmx.net wrote:
> On Mon, 7 Sep 2009 13:04:39 -0400
> Philip Semanchuk wrote:
>
> > Did you subscribe to the mailing list before sending a message to
> > it?
>
> I did not subscribe the gmane account when I tried out posting via
> gmane.
>
> I am pretty
26 matches
Mail list logo