Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread From
(Posting On Python-List Prohibited) why ? -- https://mail.python.org/mailman/listinfo/python-list

Getting errors from Imaplib - reloaded

2014-12-10 Thread Beatrix Willius from Moth Software
Hi, thanks to your help I can get traceback errors for the imaplib. But what about accessing direct imap errors? In the following part of my script I can't select the not-deleted mails for some reason. But how do I access the error? The debugger goes to the exception line but OSError.strerror d

Re: Getting errors from Imaplib

2014-11-30 Thread Beatrix Willius from Moth Software
On 30.11.2014, at 21:11, Chris Angelico wrote: > > 2) Network failures and auth problems should be dealt with the same > way. Change one line of code: > except (imaplib.IMAP4.error, OSError): > > Now it'll cope with OSError the same way it copes with IMAP errors. > > Does that answer your quest

Re: Getting errors from Imaplib

2014-11-30 Thread Beatrix Willius from Moth Software
Hi Chris, no, pinging Yahoo doesn't work. But this is an additional problem - perhaps I tested too often. This is one of my accounts for Imap testing and I only copied the value from Mail. For getting the error back this doesn't really matter. > import imaplib > > host = &

Getting errors from Imaplib

2014-11-30 Thread Beatrix Willius from Moth Software
Hi, first poster here. I still consider myself pretty much a Python newbie. Let's say I have the following very simple Python code: import imaplib host = 'imap.gmail.com' try: imap_connection = imaplib.IMAP4(host) print('success') except imaplib.IMAP4.error: print('authentication fa

My direct client Hiring and interviewing going on Live today.

2011-05-13 Thread Yagnesh from CyberThink
Hi, My direct client Hiring and interviewing going on Live today. I am having some very good direct client openings currently. I can get the consultant interviewed within 24 business hours. Please drop me an email to get all my direct client openings. I will reply to only those emails which are d

My direct client Hiring and interviewing going on Live today.

2011-05-13 Thread Yagnesh from CyberThink
Hi, My direct client Hiring and interviewing going on Live today. I am having some very good direct client openings currently. I can get the consultant interviewed within 24 business hours. Please drop me an email to get all my direct client openings. I will reply to only those emails which are d

Re: Garbage collection of recursive inner function

2008-08-05 Thread from . future . import
own data structures a while ago, but got an unexpected memory leak because of these cyclic references from inner functions. Thanks for your clear explanation! Bye, Maarten -- http://mail.python.org/mailman/listinfo/python-list

Garbage collection of recursive inner function

2008-08-04 Thread from . future . import
Hi, I encountered garbage collection behaviour that I didn't expect when using a recursive function inside another function: the definition of the inner function seems to contain a circular reference, which means it is only collected by the mark-and-sweep collector, not by reference counting. Here

Re: Make Money Using Paypal Get Paid Instantly

2008-03-22 Thread Work from Home Secrets
her you just need to ask a question from time to time or need a > great deal of help. > > http://workfromhomereviews.org/ * * * Do yourself a favor today! * * * Give yourself every advantage you deserve! * * * http://workfromhomereviews.org/stealth-money-maker.html * * * M

List question

2008-03-21 Thread From
Hello, I am learning python and dont quuite understand why is this happening could someone explain? alist = [] blist = [ 'one','two','one and two','one and four','five','one two'] for f in blist: if 'one' and 'two' in f: alist.append(f) for i in alist: print i tw

Re: Surprised by the command "del"

2008-03-01 Thread From
On Sat, 1 Mar 2008 21:05:41 +0100, "K Viltersten" <[EMAIL PROTECTED]> wrote: >I'm reading the docs and at 5.2 the del >statement is discussed. At first, i thought >i've found a typo but as i tried that >myself, it turns it actually does work so. > > a = ["alpha", "beta", "gamma"] > del a[2:2] >

Re: Tabs versus Spaces in Source Code

2006-05-16 Thread [EMAIL PROTECTED] opalinski from opalpaweb
> Simply put, tabs is proper, and spaces are improper. > Why? This may seem > ridiculously simple given the de facto ball of confusion: the semantics > of tabs is what indenting is about, while, using spaces to align code > is a hack. The reality of programming practice trumps original intent of t