I wrote a really quick'n'dirty one to be used as part as of a rig builder,
so maybe you can use it as a starting point. Here's the code:
https://gist.github.com/christophercrouzet/2e74ca5b6f33500caf95b0c9244c27e6
I've just extracted it from a codebase and didn't really tested it after
that, so may
Hey masters
I want to import skin weight maps of an object with python code, but i
think maya does not have equivalent of `Rigging > skin > Import Wights
Maps...`, i found that just there is one MEL command that will open the
related dialogbox, thi: `mel.eval("ImportSkinWeightMaps;")`.
but, bec