I'm new on GWT and i have an application developed on GWT. I need integrates a program on the server side that was developed with python. The application developed with python must take a MalLab file and then produce some files on format .PNG. For the moment i made changes on the python program, because it must take the file on an specific URL. How you one idea for integrates a GWT application with python on the server side?.
The program in python is:
#!/usr/bin/python
# -*- coding: utf-8 -*-
import scipy.io
import pylab as pl
import numpy as np
from scipy import misc
from glob import glob
# import file into a dictionary
fMatLab = scipy.io.loadmat('St3D', mat_dtype = True, squeeze_me = True, struct_as_record=False)
# read in the structure
data = fMatLab['St3D']
for i in range(data.shape[2]):
misc.imsave('transect_%s.png' % i, data[:,:,i] )
img = scipy.misc.toimage(data[:,:,i], mode='I')