Re: IMAP support
Please, give me an example of raw query to IMAP server? And why do you focus on "Nevermind is so ekhm... nevermind... "?? Cannot you just help? -- http://mail.python.org/mailman/listinfo/python-list
Re: IMAP support
On 30 Lis, 22:26, Adam Tauno Williams wrote:
> On Tue, 2010-11-30 at 13:03 -0800, pakalk wrote:
> > Please, give me an example of raw query to IMAP server?
>
> <http://www.devshed.com/c/a/Python/Python-Email-Libraries-part-2-IMAP/2/>
>
> I'm not certain what you mean by "raw query".
m = imap()
m.query('UID SORT ...') # etc.
Thanks for link :)
--
http://mail.python.org/mailman/listinfo/python-list
Re: Objects and validation
On 12 Gru, 15:28, [email protected] wrote: > I have a routine in Python which is extracting information from a > website. This information is read and inserted into objects. > > I currently have all the validations and checks implemented in the > routines which are reading the HTML and creating the objects. It is > however also possible to move all the validations into the class itself. > What is considered the best practice for this: validation in the > functions which read the information and creates the objects or in the > class itself? setter Data sources may differ, and may be used for many reasons, so validating data there is not a good idea. Object has to keep correct data, so it should validate it. If you want to have object created no matter what, you can add validate() method, but you may also use setters for this - error will be raised every try to set wrong data. -- http://mail.python.org/mailman/listinfo/python-list
Re: Python on wikipedia
On 12 Gru, 22:21, DevPlayer wrote: > Snapshot in time, hey look at that; someone used Python as THE example > of what a programming language is on > Wikipedia.http://en.wikipedia.org/wiki/Programming_language aand? what is the catch? -- http://mail.python.org/mailman/listinfo/python-list
IMAP support
Hello, Can anyone help me find GOOD IMAP library for python? Imaplib is.. ekhm... nevermind... Is there any good library? -- http://mail.python.org/mailman/listinfo/python-list
