poplib's POP3_SSL not downloading latest email

2017-07-08 Thread Sm Chats
I have a small script which checks whether a mail sent by me to myself(i.e delivered to myself) has the same body as the sent message. The problem is that the sent message (sent by SMTP) isn't received by the POP3_SSL object I'm using. It shows mails from more than a month ago. I'm unable to fig

Re: poplib's POP3_SSL not downloading latest email

2017-07-08 Thread Sam Chats
On Sat, 8 Jul 2017 08:48:52 + (UTC), Sm Chats wrote: > I have a small script which checks whether a mail sent by me to myself(i.e > delivered to myself) has the same body as the sent message. The problem is > that the sent message (sent by SMTP) isn't received by the POP3_SSL object > I'm us

Re: poplib's POP3_SSL not downloading latest email

2017-07-08 Thread Steve D'Aprano
On Sat, 8 Jul 2017 06:48 pm, Sm Chats wrote: > I have a small script which checks whether a mail sent by me to myself(i.e > delivered to myself) has the same body as the sent message. The problem is > that the sent message (sent by SMTP) isn't received by the POP3_SSL object I'm > using. It shows

Re: poplib's POP3_SSL not downloading latest email

2017-07-08 Thread Sam Chats
On Sat, 08 Jul 2017 20:08:12 +1000, Steve D'Aprano wrote: > On Sat, 8 Jul 2017 06:48 pm, Sm Chats wrote: > > > I have a small script which checks whether a mail sent by me to myself(i.e > > delivered to myself) has the same body as the sent message. The problem is > > that the sent message (sent b

Re: Case Solution: Federal Bank Dividend Discount Valuation by Debasish Maitra, Varun Dawar

2017-07-08 Thread phyllisaaa0514
On Friday, 7 July 2017 20:16:42 UTC-7, Case Solution & Analysis wrote: > Case Solution and Analysis of Federal Bank: Dividend Discount Valuation by > Debasish Maitra, Varun Dawar is available at a lowest price, send email to > casesolutionscentre(at)gmail(dot)com > > Case Study ID: 9B17N005 /

Re: Test 0 and false since false is 0

2017-07-08 Thread Sayth Renshaw
> Another option is to test for type(value) == int: > > >>> before = ["a",0,0,"b",None,"c","d",0,1,False,0,1,0,3,[],0,1,9,0,0, > {},0,0,9] > >>> wanted = ["a","b",None,"c","d",1,False,1,3,[],1,9, > {},9,0,0,0,0,0,0,0,0,0,0] > >>> after = sorted(before, key=lambda x: x == 0 and type(x) == int) > >

RE: Test 0 and false since false is 0

2017-07-08 Thread Paul D. DeRocco
> From: Sayth Renshaw > > I have been reading this solution > > >>> after = sorted(before, key=lambda x: x == 0 and type(x) == int) > > it is really good, however I don't understand it enough to > reimplement something like that myself yet. > > Though I can that lambda tests for 0 that is equa