(Posting On Python-List Prohibited)
why ?
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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 = &
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
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
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
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
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
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
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
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]
>
> 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
13 matches
Mail list logo