Calling a string as a function.

brandon.mcginty at gmail.com brandon.mcginty at gmail.com
Fri Feb 3 00:10:22 EST 2006


I'm completely new to python, so sorry for my ignorence.
How does one go about converting a string, for instants one received through
tcp, into something that can be called as a function?
I'm trying to have what the user sends to the computer through the network,
run as a function.
If the user sends "motd", the function motd will be run inside the script.
Thanks Much,
Brandon McGinty
Brandon.mcginty at gmail.com

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.0/248 - Release Date: 2/1/2006
 




More information about the Python-list mailing list