Re: bootstrapping on machines without Python

2009-11-13 Thread mmanns
On Fri, 13 Nov 2009 02:40:28 -0800 (PST) Jonathan Hartley tart...@tartley.com 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

How do I post to the wxPython mailing list?

2009-09-07 Thread mmanns
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

How do I post to the wxPython mailing list?

2009-09-07 Thread mmanns
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

Re: How do I post to the wxPython mailing list?

2009-09-07 Thread mmanns
On Mon, 07 Sep 2009 16:06:11 -0400 Terry Reedy tjre...@udel.edu 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

Re: How do I post to the wxPython mailing list?

2009-09-07 Thread mmanns
On Mon, 7 Sep 2009 13:04:39 -0400 Philip Semanchuk phi...@semanchuk.com 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.

Re: How do I post to the wxPython mailing list?

2009-09-07 Thread mmanns
On Mon, 7 Sep 2009 22:51:47 +0200 mma...@gmx.net wrote: On Mon, 7 Sep 2009 13:04:39 -0400 Philip Semanchuk phi...@semanchuk.com 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

Re: Package for fast plotting of many data points in Python?

2009-07-15 Thread mmanns
On Sat, 11 Jul 2009 15:33:32 -0700 (PDT) Daniel Platz mail.to.daniel.pl...@googlemail.com 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

Determining 32 bit vs 64 bit Python and numpy

2009-05-25 Thread mmanns
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

Re: Determining 32 bit vs 64 bit Python and numpy

2009-05-25 Thread mmanns
On Mon, 25 May 2009 23:54:45 +0200 Martin v. Löwis mar...@v.loewis.de 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

Re: question about xrange performance

2009-04-18 Thread mmanns
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 when you have

pyspread 0.0.11 released

2009-04-04 Thread mmanns
pyspread 0.0.11 released Homepage: - http://pyspread.sf.net About: -- Pyspread is a cross-platform spreadsheet application that is based on and written in the programming language Python. Pyspread provides an arbitrary size, three-dimensional grid

Re: Introducing Python to others

2009-03-26 Thread mmanns
On Thu, 26 Mar 2009 12:42:01 -0400 (CLT) andrew cooke and...@acooke.org 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 [2,

Re: Flattening lists

2009-02-07 Thread mmanns
On Sat, 7 Feb 2009 01:06:06 -0800 (PST) Rhamphoryncus rha...@gmail.com wrote: On Feb 6, 10:21 pm, rdmur...@bitdance.com wrote: Quoth Mensanator mensana...@aol.com: def flatten(listOfLists):     return list(chain.from_iterable(listOfLists))     Python 2.6.1 (r261:67515, Jan  7 2009,

Re: Flattening lists

2009-02-07 Thread mmanns
On Sat, 7 Feb 2009 12:50:22 -0800 (PST) Rhamphoryncus rha...@gmail.com wrote: On Feb 7, 1:39 pm, mma...@gmx.net wrote: On Sat, 7 Feb 2009 01:06:06 -0800 (PST) Rhamphoryncus rha...@gmail.com wrote: What usecase do you have for such inconsistently structured data? I have a similar use

Testing if an index is in a slice

2009-01-01 Thread mmanns
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?

Testing if an index is in a slice

2009-01-01 Thread mmanns
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?

Re: Testing if an index is in a slice

2009-01-01 Thread mmanns
On Thu, 1 Jan 2009 11:34:53 -0800 (PST) ajaksu aja...@gmail.com 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

Re: Which sparse matrix package?

2008-12-18 Thread mmanns
On Fri, 19 Dec 2008 08:33:28 +1000 James Mills prolo...@shortcircuit.net.au 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

Re: Which sparse matrix package?

2008-12-18 Thread mmanns
On Thu, 18 Dec 2008 18:04:19 -0600 Robert Kern robert.k...@gmail.com 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

Re: can graphs be made in python as we make in java

2008-12-07 Thread mmanns
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 --

pyspread 0.0.10 released

2008-11-15 Thread mmanns
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

gmpy and counting None

2008-10-13 Thread mmanns
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(None) Traceback

ANN: pyspread 0.0.8

2008-08-02 Thread mmanns
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

ANN: pyspread 0.0.8

2008-08-02 Thread mmanns
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

Re: ANN: pyspread 0.0.8

2008-08-02 Thread mmanns
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 ;-) I've

Re: Rappresenting infinite

2007-06-28 Thread mmanns
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, 20:11:18)

Re: equality comparison by default (was Re: Too many 'self' in python.That's a big flaw in this language.)

2007-06-28 Thread mmanns
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 like the

Re: Rappresenting infinite

2007-06-28 Thread mmanns
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, copyright,