Hello everyone,
I wanted to point out the update of the project ‘Pyggy Bank’ is
available on SourgeForge as pyggy_code_20120330.7z
Pyggy Bank is a ‘piggy bank’ so you can put or raise money…
PyggyBank is a project that shows (or should show) a ‘real world’ application.
Is just a demo a bit over engineered.
in this new version of Pyggy Bank I moved the database operations
in a dedicated class.
In this class the database connection is handled by a
static method using a decorator, so the connection can be opened without instantiating the class and
once opened, is visible to all objects that use the program.
I also changed the management of instances of various frame/dialogs using a dictionary
that is populated dynamically from these. This dictionary is in the class called Engine.
The file engine.py if executed individually performs the main function that
performs some tests.
Also we use a decorator to create the parameter file.
Finally I changed the generation of reports using tempfile lib.
For more information read the readme file in pyggy’s directory
Comments welcome.