Importing named views through a script

Is it possible to import named views via a Python script? I have a set of named views in a default template, but I’d like to be able to import those views along with the default template. From what I can see now, the views do not import with the template.



Maybe this helps:

Hi Jarek,

I think this will point me in the right direction. Thanks.

And thanks to Clement for putting this out there.