Server Questions (2 of them)

Andrew andrew.chapkowski at gmail.com
Sun Nov 20 15:02:11 EST 2011


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



More information about the Python-list mailing list