If you just want run & test in jython.. now, you could try like that : (attach bottom of your code) if __name__ == '__main__' import pawt pawt.test(yourclassname(),size=(number,number)) # yourclassname, number - anything you want you can get the result like that jython filename.py In webrower, I'm discussing yet..