MultiVolume with python script

How can I create multi volumes from python script and map them to different view nodes in slicer 3d?

It is quite limited what you can do with MultiVolume, for example you can only have one or two volumes extracted from a sequence. However, if you load the volume as a Volume Sequence then there are no such limitations.

You can find in this example how to show different volumes in slice views: