Error message

  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).
  • Warning: Illegal string offset 'field' in DatabaseCondition->__clone() (line 1895 of /home/magiksys/sites/blog.magiksys.net/includes/database/query.inc).

devel

Google Web Toolkit and Python's Pyjamas

I was curious about the Google Web Toolkit and the Google App Engine for longtime, but never get the opportunity to make a try.

Surfing the web, looking for Python's things, I found Pyjamas, a Python-based Web Application Development Framework.

pyzmail : a high level mail library for Python

pyzmail is a high level mail library for Python. It provides functions and classes that help to read, compose and send emails. pyzmail exists because their is no reasons that handling mails with Python would be more difficult than with popular mail clients like Outlook or Thunderbird. pyzmail hide the difficulties of the MIME structure and MIME encoding/decoding. It also hide the problem of the internationalized header encoding/decoding.

pyzmail homepage

Add support for google analytics to epydoc

In fact the code is already in epydoc documentation but nowhere in the sources, even in the SVN repository ! I wrote this patch myself, using the code I found in the documentation.

To use it, you have to specify your google analytics Id like this :

Parsing email using Python part 2 of 2 : The content

The code and tips here, are all included in the new pyzmail library. More samples and tips can be found in the API documentation.

The first part was about mail header. This second part take focus on the mail content.

Today's mails include HTML formatted texts, pictures and other attachments.

Parsing email using Python part 1 of 2 : The Header

The code and tips here, are all included in the new pyzmail library. More samples and tips can be found in the API documentation.

Welcome to this series of two small articles about how to parse emails using Python. This first one is about mail header. The second one is about mail content.

Subscribe to RSS - devel