comm between Python and Java