On 31 mar, 11:05, <[EMAIL PROTECTED]> wrote:
> Hello everyone
>
> I have defined some sort of 'interface class' and a factory function that
> creates instance objects of specific classes, which implement that interface:
>
> Interface definition:
> **
<[EMAIL PROTECTED]> wrote:
> Factory:
> **
*
> def factory(type, *p):
> if type == common.databaseEntryTypes[0]:
> return module1.Class1(*p);
> elif type == common.databaseEntryTypes[1]:
>
Hello everyone
I have defined some sort of 'interface class' and a factory function that
creates instance objects of specific classes, which implement that interface:
Interface definition:
***
import GUI.webGUI a