Pfft... hate it when people post RTFM.
If you just want a simple IO on the script file try
-
import commands
-
-
output = commands.getstatusoutput('/home/transfer/check.sh')
-
That will return back a tupple of the return code and the string output to console.
If thats not quite right, you can check the
commands module or if you need even more leverage with the console there is the module
subprocess.
Edit: That is assuming you banged your shell script. If not you will have to change that to '/bin/sh /home/transfer/check.sh' OR just bang the script and give it execute permission.