*Val K*, I know that & is betwice operator) I can not return ('My message',
oper and abit) becouse string 'My message' is different like:
if ((oper==True) & (abit==True)):
return ('My message 1',True)
elif ((oper==True) & (abit==False)):
return ('My message 2',False)
elif ((ope
1. & - is bitwise operator (just in case)
2. why not just return ('My message', oper and abit)
On Thursday, June 20, 2019 at 8:30:30 PM UTC+3, Константин Комков wrote:
>
> I need add more information. Can error may be caused if my function don't
> have one condition:
> def send_application(msg,e
I need add more information. Can error may be caused if my function don't
have one condition:
def send_application(msg,entrant_XML):
#Letter for operator
try:
oper = mail.send('opera...@domen.ru','Theme','Letter
text...',attachments = files)
except Exception:
oper = Fa
3 matches
Mail list logo