dvid Wrote:Aside form wisdom or otherwise of doing it, can it actually be done?They more normal way is to have python code on server side,
then send or call(using eg jinja, Ajax) that code on client side.
I have a tutorial about this here,
so the point is to throw away the JavaScript code(that can run in Browser)
and do the same with Python code.
Doing a Ajax call to Python function server side,
so for the user in browser there is no diffidence as JavaScript and Python is doing the same task here.