Re: Algorithm for Creating Supersets of Smaller Sets Based on Common Elements

2015-02-21 Thread TommyVee
"TommyVee" wrote in message news:Bg5Gw.1344030$no4.494...@fx19.iad... Start off with sets of elements as follows: 1. A,B,E,F 2. G,H,L,P,Q 3. C,D,E,F 4. E,X,Z 5. L,M,R 6. O,M,Y Note that sets 1, 3 and 4 all have the element 'E' in common, therefore they are "relate

Algorithm for Creating Supersets of Smaller Sets Based on Common Elements

2015-02-21 Thread TommyVee
Start off with sets of elements as follows: 1. A,B,E,F 2. G,H,L,P,Q 3. C,D,E,F 4. E,X,Z 5. L,M,R 6. O,M,Y Note that sets 1, 3 and 4 all have the element 'E' in common, therefore they are "related" and form the following superset: A,B,C,D,E,F,X,Z Likewise, sets 2 and 5 have the element 'L' in

Re: Easiest Way to Do Cross-Platform DB Access (Oracle)

2014-08-19 Thread TommyVee
"Gary Furash" wrote in message news:135759bf-0823-480c-9631-106d6cf1a...@googlegroups.com... I need to be able to access Oracle from both Windows and *nix, however, it seems kind of tortuous getting everything working each time on each server. With Java I can just drop (usually the same) JDBC

Re: New to python, do I need an IDE or is vim still good enough?

2012-12-27 Thread TommyVee
"mogul" wrote in message news:ea058e5c-518f-4210-b80e-49ae2baab...@googlegroups.com... 'Aloha! I'm new to python, got 10-20 years perl and C experience, all gained on unix alike machines hacking happily in vi, and later on in vim. Now it's python, and currently mainly on my kubuntu desktop.

Re: Creating an iterator in a class

2012-12-27 Thread TommyVee
"Joseph L. Casale" wrote in message news:mailman.1346.1356619576.29569.python-l...@python.org... I am writing a class to provide a db backed configuration for an application. In my programs code, I import the class and pass the ODBC params to the class for its __init__ to instantiate a conne

Re: Need to get Tags and Values from Dom

2012-05-14 Thread TommyVee
"james hedley" wrote in message news:11852803.89.1337001575700.JavaMail.geo-discussion-forums@vbmd2... On Monday, 14 May 2012 01:50:23 UTC+1, TommyVee wrote: I have a very simple XML document that I need to "walk", and I'm using xml.dom.minidom. No attributes, jus

Need to get Tags and Values from Dom

2012-05-13 Thread TommyVee
I thought it would have been nodeName and nodeValue, but that doesn't seem to be. Does anyone know? Thanks in advance, TommyVee -- http://mail.python.org/mailman/listinfo/python-list

Re: Generator Frustration

2011-06-07 Thread TommyVee
"Thomas Rachel" wrote in message news:isi5dk$8h1$1...@r03.glglgl.eu... Am 04.06.2011 20:27 schrieb TommyVee: I'm using the SimPy package to run simulations. Anyone who's used this package knows that the way it simulates process concurrency is through the clever use of yield

Re: Generator Frustration

2011-06-05 Thread TommyVee
"Gregory Ewing" wrote in message news:95059efur...@mid.individual.net... Steven D'Aprano wrote: A nice piece of syntax that has been proposed for Python is "yield from", which will do the same thing, but you can't use that yet. Unless you're impatient enough to compile your own Python with m

Generator Frustration

2011-06-04 Thread TommyVee
I'm using the SimPy package to run simulations. Anyone who's used this package knows that the way it simulates process concurrency is through the clever use of yield statements. Some of the code in my programs is very complex and contains several repeating sequences of yield statements. I want