"Kent Johnson" wrote
can group a bunch of SQL statements in one place; they're currently
scattered all over the program and it's getting unwieldy).
Normally in an OO program the SQL for each class is in the methods for
that
class. That way any changes to the class canbe easily reflected in
"questions anon" wrote
I would like to make some simple plots using matplotlib (or any python
plotting modules) and I can find lots of examples that generate random
data
and then plot those, but I cannot find any that read in data from excel
or a
text file, manipulate the data and then plot
On Sat, Aug 22, 2009 at 3:54 AM, Alan Gauld wrote:
> "Kent Johnson" wrote
>
can group a bunch of SQL statements in one place; they're currently
scattered all over the program and it's getting unwieldy).
>>>
>>> Normally in an OO program the SQL for each class is in the methods for
>>> th
"Kent Johnson" wrote
I think it does makes sense to keep SQL confined to well-defined
locations. This can be per class - each class holds its own SQL - or a
single class that does all database access so all SQL and database
dependencies are in one place.
My vote for the class every time. I h