2011/11/20 Andrew <andrew.chapkow...@gmail.com>:
> Hello List,
>
> How to do you create a server that accepts a set of user code?
>
> For example,
>
> I would like to send this function:
> def addition(x,y):
>   return x+y
> and have the socket server perform the operation and send is back to
> the end user.
>
> Question 2:
> On that same server, I want a user to be able to pass a file to the
> server along with code.  What is the best way to pass file to the
> server?
>
>
> Thank you for any suggestions or resources you can provide.
>
> Andrew
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Check for Pyro - it allows creation of objects on client side while
running them on server side. Pyro makes this process almost
transparent using proxy objects.

Hope it helps,
S.Nizamov
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to