Multiple materials via script

Hi…
Do you know how could I assign a Material to a VertexGroup via script (Python)?
I can only assign a Material to the whole Mesh
Thanks a lot!

Hi…
I was able to do it…
Thanks anyway