SOLVED XPresso python node

In a python node, is it possible to know how many inputs and outputs there are? and their name?

The op variable gives acess to the node itself. From there it is straightforward:

for port in op.GetInPorts():

for port in op.GetOutPorts():

See Python Xpresso Node and c4d.modules.graphview.GvNode.

Thanks @PluginStudent ;)