def tcl(command):
    command_line = shlex.split(command)
output = subprocess.check_output(command_line)
return output
print(tcl('tclsh proc.tcl sum 5 8'))
print(tcl('tclsh proc.tcl sub 19 8'))
How to Call TCL Procedure using Python