Re: Efficient way to sum a product of numbers...

2009-08-31 Thread vsoler
On Aug 31, 6:30 pm, Tim Chase wrote: > > After simplifying my problem, I can say that I want to get the sum of > > the product of two culumns: > > > Say > >          m= [[ 'a', 1], [ 'b', 2],[ 'a', 3]] > > assuming you meant ['c', 3] here...    ^>          r={'a':4, 'b':5, 'c':6} > > > What I need

Re: Efficient way to sum a product of numbers...

2009-08-31 Thread vsoler
On Aug 31, 6:59 pm, Tim Chase wrote: > vsoler wrote: > > On Aug 31, 6:30 pm, Tim Chase wrote: > >>> After simplifying my problem, I can say that I want to get the sum of > >>> the product of two culumns: > >>> Say > >>>          m= [[ 

Source code for itertools

2010-08-30 Thread vsoler
I'm interested in studying the itertools source code, especially the permutations function. However, I cannot find the library. Where could I find it? Running Python 3.1 Thank you -- http://mail.python.org/mailman/listinfo/python-list

Re: Source code for itertools

2010-08-30 Thread vsoler
On 31 ago, 04:14, Lawrence D'Oliveiro wrote: > In message > <9aa266f0-be9b-4c9a-bfbd-6cdfc86ad...@t20g2000yqa.googlegroups.com>, vsoler > wrote: > > > I'm interested in studying the itertools source code, especially the > > permutations function. > &g

Re: Source code for itertools

2010-08-30 Thread vsoler
On 31 ago, 04:42, Paul Rubin wrote: > vsoler writes: > > I was expecting an itertools.py file, but I don't see it in your list. > >> ./python3.1-3.1.2+20100829/Modules/itertoolsmodule.c > > looks promising.  Lots of stdlib modules are written in C for speed or

Re: Source code for itertools

2010-09-01 Thread vsoler
On 31 ago, 05:33, Rolando Espinoza La Fuente wrote: > On Mon, Aug 30, 2010 at 11:06 PM, vsoler wrote: > > On 31 ago, 04:42, Paul Rubin wrote: > >> vsoler writes: > >> > I was expecting an itertools.py file, but I don't see it in your list. > &g

Re: Source code for itertools

2010-09-01 Thread vsoler
On 1 sep, 06:30, Tim Roberts wrote: > vsoler wrote: > >On 31 ago, 04:42, Paul Rubin wrote: > >> vsoler writes: > >> > I was expecting an itertools.py file, but I don't see it in your list. > >> >> ./python3.1-3.1.2+20100829/Modules/itertoo

personal firewall software is blocking the connection

2010-09-05 Thread vsoler
I'am getting this annoying message all the time when using IDLE. ... personal firewall software is blocking the connection When I am editing a source *.py file and I click on F5 (run) I get the above message. What can I do? I am using Norton Internet Security. I try to find if 127.0.0.1 is blo

IDLE: personal firewall software is blocking the connection

2010-09-05 Thread vsoler
On 5 sep, 18:00, vsoler wrote: > I'am getting this annoying message all the time when using IDLE. > > ...  personal firewall software is blocking the connection > > When I am editing a source *.py file and I click on F5 (run) I get the > above message. > > What ca

<    1   2