On 20/03/2016 19:56, Arshpreet Singh wrote:
On Saturday, 19 March 2016 05:38:16 UTC+5:30, Rick Johnson wrote:
I gave you "real help".
What you want me to do -- write the code for you? Sorry, but Python-list is not a soup
kitchen for destitute code. Neither is it a triage center were you can
On Saturday, 19 March 2016 05:38:16 UTC+5:30, Rick Johnson wrote:
> I gave you "real help".
>
> What you want me to do -- write the code for you? Sorry, but Python-list is
> not a soup kitchen for destitute code. Neither is it a triage center were you
> can bring your sick code, drop it at th
On Friday, March 18, 2016 at 9:19:34 AM UTC-5, Arshpreet Singh wrote:
> On Friday, 18 March 2016 11:14:44 UTC+5:30, Rick Johnson wrote:
>
> > #
> > # BEGIN CODE
> > #
> > import imaplib
> >
> > def inbox_week():
> > emailAddress = '...@gmail.com'
> > emailPassword = 'mypassword'
> >
On Friday, 18 March 2016 11:14:44 UTC+5:30, Rick Johnson wrote:
> #
> # BEGIN CODE
> #
> import imaplib
>
> def inbox_week():
> emailAddress = '...@gmail.com'
> emailPassword = 'mypassword'
> # START ADDING CODE HERE
> #
> # END CODE
> #
Well I am asking for real help.(!suggestions)
On Tuesday, 15 March 2016 22:32:42 UTC+5:30, Rick Johnson wrote:
> Is that last line doing what you think it's doing? Let's
> break it down... Basically you have one condition, that is
> composed of two main components:
>
> Component-1: EMAIL in str(msg[header])
>
> and
>
> Component-
On Thursday, March 17, 2016 at 11:14:48 PM UTC-5, Arshpreet Singh wrote:
> Yes I am looking for in EMAIL string is present in
> str(msg[header]) then do_something()
>
> I also run without str() but sometimes it causes weird
> exception errors because you can't predict the behavior
> msg[header].
On Tuesday, March 15, 2016 at 5:48:15 AM UTC-5, Arshpreet Singh wrote:
> def inbox_week():
> import imaplib
> EMAIL = 'myusern...@gmail.com'
I admit that this is pedantic, but you should really use
ADDRESS instead of EMAIL. ADDRESS more correctly complements
PASSWORD. But in any event, yo
Hi, I am using imaplib to fetch Gmail's Inbox Archived message but results are
not that much accurate. Here is code+logic:
def inbox_week():
import imaplib
EMAIL = 'myusern...@gmail.com'
PASSWORD = 'mypassword'
mail = imaplib.IMAP4_SSL('imap.gmail.com')
mail.login( EMAIL, PA