[EvA] python usage of EvA2

Oliver Borm oli.borm at web.de
Thu Jul 1 11:00:39 CEST 2010


Hello,

attached you will find two files, which demonstrates how EvA2 can be
used inside python. In that case we are utilizing jpype in order to get
access to the eva2 classes and defining an external problem (F1Problem).

Just store both files in the same directory, make sure at least the
F1ProblemTest.py has executable rights. If this is not possible pack the
"python F1ProblemTest.py" command in a bash/bat script. Then locate the
EvA2Base.jar in the same directory or adjust the systemPath inside the
eva2.py accordingly. After all just run "python eva2.py".

Oliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eva2.py
Type: text/x-python
Size: 1217 bytes
Desc: not available
Url : http://listserv.uni-tuebingen.de/pipermail/eva/attachments/20100701/fb3df351/attachment.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F1ProblemTest.py
Type: text/x-python
Size: 447 bytes
Desc: not available
Url : http://listserv.uni-tuebingen.de/pipermail/eva/attachments/20100701/fb3df351/attachment-0001.py 


More information about the EvA mailing list