Help for GH python divide curve


Hello guys, I need help for this script. I want to do with ghpythonlib. to testing

Hi
you want something like this?

Hello appreciate it!, something like this. but with ghpythonlib.components method.
not in rhinoscriptsyntax

but, could you get the curve from rhino geometry(pick the curve), not inside from python? thanks!