Re: Checking a Number for Palindromic Behavior

2009-10-19 Thread Andrew Henshaw
> wrote in message >news:63dea9e7-97af-4b20-aa0a-c762d9944...@a21g2000yqc.googlegroups.com... >On Oct 18, 4:20 pm, MRAB wrote: >> Benjamin Middaugh wrote: >> > Thanks to everyone who helped with my query on reversing integers. I >> > have one more simple problem I'm having trouble solving. I want

Re: finding most common elements between thousands of multiple arrays.

2009-07-07 Thread Andrew Henshaw
"mclovin" wrote in message news:c5332c9b-2348-4194-bfa0-d70c77107...@x3g2000yqa.googlegroups.com... > Currently I need to find the most common elements in thousands of > arrays within one large array (arround 2 million instances with ~70k > unique elements) > > so I set up a dictionary to handle

Re: itertools.intersect?

2009-06-15 Thread Andrew Henshaw
"Raymond Hettinger" wrote in message news:fb1feeeb-c430-4ca7-9e76-fea02ea3e...@v23g2000pro.googlegroups.com... > [David Wilson] >> The problem is simple: given one or more ordered sequences, return >> only the objects that appear in each sequence, without reading the >> whole set into memory. Th

Re: league problem in python

2009-04-02 Thread Andrew Henshaw
"Ross" wrote in message news:d5cc0ec7-5223-4f6d-bab4-3801dee50...@r37g2000yqn.googlegroups.com... ... snip ... > I would like to create a simple program where the pro could enter in > how many people were in the league, the number of courts available, > and the number of weeks the schedule would

Re: Read word tables

2004-12-21 Thread Andrew Henshaw
2com.client.Dispatch('Word.Application') doc = app.Documents[0] tables = [] for word_table in doc.Tables: table = [] for word_row in word_table.Rows: row = [cell.Range.Text for cell in word_row.Cells] table.append(row) tables.append(tabl