On Wednesday 18 October 2006 00:25, Fredrik Lundh wrote: > |feature. the "exec" system call operates on a lower level than the > |stdio buffering system.
I did in this manner: for exe in ('imap4', 'pop3'): if exe in cfgfil[optsrv + '.protocol']: exe = exe[:4]; exe = 'call_func = _call_' + exe.upper() \ + '(setting)' try: exec exe except ProtocolError: call_func = '#ERROR 02 = Protocol failed with %s' %optsrv break exists it a different way to do it? F -- http://mail.python.org/mailman/listinfo/python-list