joining NoneType and DateTimeType

Simon Brunning simon at
Wed Jun 14 13:07:46 CEST 2006

On 14 Jun 2006 03:43:39 -0700, s99999999s2003 at
<s99999999s2003 at> wrote:
> i have some databse results that are NoneType and DateTimeType. now i
> have trouble
> joining these row results together like "|".join(result) as it says
> cannot join NoneType , DateTimeType . How can i change these types so i
> can join the columns together as string?

 "|".join(str(column) for column in result)

Simon B,
simon at,

More information about the Python-list mailing list