Code Maven

Search for '{{search_term}}'

Welcome to the Code Maven!

Programming Exercises for any language.

For now, just read the articles...

If you want to make sure you don't miss any new articles, you can subscribe to the Code Maven newsletter, follow via atom feed, Twitter, or even my Google+ account.

CMOS #1: Jason Crome on Perl Dancer 2

Interview with Jason A. Crome about the Perl Dancer web framework.


CMOS #1: Jason Crome on Perl Dancer 2


Code-Maven Open Source podcasts

CMOS - Code-Maven Open Source news is a podcast providing news about Open Source projects. Each episode is between 5-20 minutes.

You can subscribe with your favorite Podcast listener via the CMOS RSS feed


Code-Maven Open Source podcasts


How to serialize a datetime object as JSON using Python?

It is easy to serialize a Python data structure as JSON, we just need to call the json.dumps method, but if our data stucture contains a datetime object we'll get an exception:

TypeError: datetime.datetime(...) is not JSON serializable

How can we fix this?


How to serialize a datetime object as JSON using Python?