How can I switch from Single Image to Image Sequence in Compositor network, with a script?
Switching from still to sequence is actually part of the image data not the node itself. After you load the image used by the node you can set it's source to 'SEQUENECE'

image_node.image.source = 'SEQUENCE'