Re: max(), sum(), next()

2008-09-06 Thread Manu Hack
On Sat, Sep 6, 2008 at 12:57 AM, castironpi <[EMAIL PROTECTED]> wrote: > On Sep 5, 9:20 pm, "Manu Hack" <[EMAIL PROTECTED]> wrote: >> On Fri, Sep 5, 2008 at 1:04 PM, castironpi <[EMAIL PROTECTED]> wrote: >> > On Sep 5, 3:28 am, "Manu Hack" &

Re: max(), sum(), next()

2008-09-05 Thread Manu Hack
On Fri, Sep 5, 2008 at 11:45 PM, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Fri, 05 Sep 2008 22:20:06 -0400, Manu Hack wrote: > >> On Fri, Sep 5, 2008 at 1:04 PM, castironpi <[EMAIL PROTECTED]> wrote: > ... >>>> >The reason sum([]) is 0 is that

Re: max(), sum(), next()

2008-09-05 Thread Manu Hack
On Fri, Sep 5, 2008 at 1:04 PM, castironpi <[EMAIL PROTECTED]> wrote: > On Sep 5, 3:28 am, "Manu Hack" <[EMAIL PROTECTED]> wrote: >> On Thu, Sep 4, 2008 at 4:25 PM, castironpi <[EMAIL PROTECTED]> wrote: >> > On Sep 4, 2:42 pm, [EMAIL PROTECTED] wrote:

Re: max(), sum(), next()

2008-09-05 Thread Manu Hack
On Thu, Sep 4, 2008 at 4:25 PM, castironpi <[EMAIL PROTECTED]> wrote: > On Sep 4, 2:42 pm, [EMAIL PROTECTED] wrote: >> David C. Ullrich: >> >> > At least in mathematics, the sum of the elements of >> > the empty set _is_ 0, while the maximum element of the >> > empty set is undefined. >> >> What do

Re: fromfile error on windows, not mac

2008-07-23 Thread Manu Hack
On Wed, Jul 23, 2008 at 3:37 PM, jadamwil <[EMAIL PROTECTED]> wrote: > I found the problem: I thought it was opening in binary mode on BOTH > windows and the mac, but on windows I passed "rb" with double quotes, > not 'rb' with single quotes to the open file function. Changing it to > 'rb' fixed i

Re: Rpy Module

2008-05-16 Thread Manu Hack
On Fri, May 16, 2008 at 6:14 PM, Mike P <[EMAIL PROTECTED]> wrote: > Hi experts, > > I've just seen there is an R module, what i can't see easily is if you > can / how to import other modules for R into the Rpy module > > Can anyone advise on this? Say if you want to use Hmisc within rpy, impor

Re: Official IRC channel for Python?

2008-02-23 Thread Manu Hack
On 23 Feb 2008 22:21:59 -0800, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > "Manu Hack" <[EMAIL PROTECTED]> writes: > > > Really? maybe I'm been blocked from it... > > > thanks. > > > > > Maybe you need your nick

Re: Official IRC channel for Python?

2008-02-23 Thread Manu Hack
On Sun, Feb 24, 2008 at 12:16 AM, js <[EMAIL PROTECTED]> wrote: > Really? maybe I'm been blocked from it... > thanks. Maybe you need your nick name to be recognized. You need to register your nickname somewhere. Manu -- http://mail.python.org/mailman/listinfo/python-list

property question

2007-10-08 Thread Manu Hack
hi all, If I have a class A with A.x, A.y, A.z. A.y and A.z are property and in order to compute the value of them, A.y depends on A.x while A.z depends on A.y and A.x. If I call A.y, and A.z, the value A.y would be computed twice. Is there a smart way to avoid that as to A.y will be recomputed

Re: RegEx question

2007-10-04 Thread Manu Hack
On 10/4/07, Robert Dailey <[EMAIL PROTECTED]> wrote: > On 10/4/07, Adam Lanier <[EMAIL PROTECTED]> wrote: > > > > try @param\[(in|out)\] \w+ > > > > This didn't work either :( > > The tool using this regular expression (Comment Reflower for VS2005) May be > broken... > > -- > http://mail.python.org