Hey, I have a weird question. (as always)

I found these two small programs on the net, a chat server and a chat client and I've modified them abit.

Is there any way I could get the chatclient to run the "DONTRUN" function from the chatclient without modifying any code in the chat client?

if I could somehow escape the string in the chatclient, and just run the function after perhaps?

Or is this just not possible? (I've tried alot of combinations)

chat server:
Code:
from socket import *

s = socket(AF_INET, SOCK_STREAM)
s.bind(('', 8002))
s.listen(1)
conn, addr = s.accept()
print "connected by", addr

while True:
    data = conn.recv(1024)
    print "Received", repr(data)
    reply = raw_input("reply: ")
    if reply == "quit":
        break
    conn.sendall(reply)
conn.close
chat client:
Code:
from socket import *


def DONTRUN():
    print("you managed to run this!")

s = socket(AF_INET, SOCK_STREAM)
s.connect(('', 8002))
while True:
    message = raw_input("Your Message")
    if message == "quit":
        break
    s.send(message)
    print("awaiting reply")
    reply = s.recv(1024)
    print("Received", reply)
s.close()