On 2017-03-14 20:59, Xristos Xristoou wrote:
I have a database in microsoft ACCESS with about 150 records.. if I want to
get some data from this database using a query in python and i want to store
in some variables in python that will do this ? to avoid the 150 if ...: Using
the standard li
On 11/06/2014 14:23, BrJohan wrote:
For some genealogical purposes I consider using Python's re module.
Rather many names can be spelled in a number of similar ways, and in
order to match names even if they are spelled differently, I will build
regular expressions, each of which is suppos
For some genealogical purposes I consider using Python's re module.
Rather many names can be spelled in a number of similar ways, and in
order to match names even if they are spelled differently, I will build
regular expressions, each of which is supposed to match a number of
similar names.
ould know about its Phylums,
...
a Genus should know about its Species.
Of course it is possible to implement such a decision tree as a
'factory'. However, I would rather prefer to encapsulate those decisions
at the class level where they 'belong'.
BrJohan
--
http://mail.python.org/mailman/listinfo/python-list
I'm in need of help to solve this Python (ver. 3.3) problem:
I have a hierarchy of classes (SubA, SubAB, SubB, ..., SubBCA,
SubC,...), each of which is inheriting from a chain of superclasses with
a common baseclass(Sup) on top. (So far, no problem)
Now, I want to create instances of the corr
Bruno Dilly wrote:
> I think you can find what do you need into this repository, it's a
> creative commons tool:
> https://svn.berlios.de/svnroot/repos/cctools/publisher/branches/flickr-storage-branch/
>
> take a look in the follow directory:
> ccpublisher/jpeg/
>
> I'm not sure if it's what you w
"Scott David Daniels" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> BrJohan wrote:
...
>> is it then possible to have this call:
>> obj = A(data)
>> return an instance of that particular class (e.g. class C3) in the
>> hierarchy
Assume having this class hierarchy: (in principle and without details)
class A(object):
class B1(A):
class B2(A):
class C1(A1):
class C2(A1):
class C3(B1):
class C4(B2):
each of those classes have an initializer __init__(self, data): and an
overloaded __new__(cls, dat