Adding Python and C output modes