-----------------------------------
class abc:
def __init__(self):
pass
def sum(self, d, f):
self.a=10
print(self.a)
def mean(self):
print(self.a)
if __name__ == '__main__':
g=abc()
g.sum(90,4)
-----------------------------------------
May I able to generate executable .jar file if I convert this code using Py4J. Actually I am searching python script (3.6) to .jar converter. If there are any other options, please refer to me.
Thank you so much.