@mak_782 welcome to the KNIME forum. You could check out these examples:
Also there is the Python space on the KNIME Hub with some examples: