Category Archives: komega situation

komega-v08e. First complete minimal version with tests

Journal: uffmm.org,
ISSN 2567-6458,Oct 14 until  Oct-15, 2020
Email: info@uffmm.org
Author: Gerd Doeben-Henisch
Email:gerd@doeben-henisch.de

ABSTRACT

This is the first complete minimal version together with two tests with the German language  as well as with the English language. From now on this ‘starting point’ will be improved step wise until some point in the future.

PDF Documents

PYTHON CODE MAIN FILE

This file is importing the file kcv8e

komega-v08e-main

(Last change: Oct 11, 2020)

PYTHON USED CLASSES

kcv8e-classes

This file is importing the ‘shelve’ module. The ‘shelve’ module has a different back end with linux or windows. See the remark at the end of the kcv8e file.

(Last change: Oct 15, 2020)

EXAMPLE with GERMAN language

test-komega-v08e-GermanExample1

(Last change Oct 15,2020)

EXAMPLE with ENGLISH language

test-komega-v08e-EnglishExample1

(Last change: Oct 15, 2020)

LINUX – WINDOWS10

(Last change: Oct 13,2020)

If you want to run the program komega-v08e.py which is importing kcv8e.py which in turn is importing the shelve modul under Windows 10 then you have in the file kcv8e.py the last line, where the storage objects initializes three databases:

LINUX:

st=Storage(‘STAT1′,’RULE1′,’PV1’)

WINDOWS10:

st=Storage(‘STAT1.dat’,’RULE1.dat’,’PV1.dat’)

The reason for this is that the shelve modul is using internally a db-interface which can be differently be implemented on different systems. For windows you need this special Postfix ‘.dat’ to indicate the windows-specific implementation.

VIDEOS

These videos show the generation of cases

(Protocol of first live session, see video)

GerdIstHungrig1

(Recorded: Oct 15, 2020 8:30am)

(Protocol 2nd live session, see video)

test-komega-v08e-GermanExample2

(recorded: Oct 15, 2020 11:30 am)