"Donnie Rhodes" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
keyword/keyphrase.
>
> So what I'm interested in is how this would work. Is this 'event
> driven' in nature?

I would call it line-input driven -- a special case that is easier to 
program.

> Would I define the bulk of these slash commands in a
> function and then call it at the end of the script?

I would consider a dict mapping command letters to functions.

tjr



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to