I wonder why so little interest into this subject. I mean
the best way to program for computers seems to be python.
it's basically python or the lump of garbage ppl call .net (yuck !)
python has a ton of capabilities like selenium for automation which is great for AI.
unlike java, python can refer to functions as variables.
it does have some down sides like the ugly way one would write switch cases.
so I was assuming there has to be a ready made way to translate java to python
I tried J2Py which doesn't work at all for me nor are there any valid documentations that actually work.
so I wrote my own on java ! hahaha !!
it's not perfect and it has room to improve but it does a lot of the hard work.
lucky java codes end with ; it made it much easier.
this example java code :
public void output(Neuron noiron) {
if (outAlg != null) {
noiron.algParts.add(outAlg);
outAlg = null;
}
}
turns to this python code:
def output(self,Neuron noiron)
if (outAlg NOT= null) :
noiron.algParts.add(outAlg)
self.outAlg = null