in python file for example,
file=field.Binary();
data=pandas.DataFrame(numpy.arange(16).reshape(4,4));
Now I want to save 'data' into 'file' as a excel file; how shall code for this?
in addition, shall I save a fig(which is plot by matplotlib.plot) into 'file' as a picture?
in xml file, the "file" is set as: <field name="file" widget="image" readonly="1" />, and I know widget="image" is for picture, so what for "excel file"?