How to execute .sh file and .py file in linux server by using linux command

If your .PY file contains a program or function/procedure you could import it into a KNIME Python node and use it there.

Also such a scenario is possible: