I am sure it should be trivial, but being newbee makes me shameless :)<br />&nbsp;&nbsp;&nbsp; What I am in need of is guideline about how to integrate python script and external python method.<br />&nbsp;&nbsp;&nbsp; I have a form through which I collect user input and forward it to a python script, which concatenates input in certain pattern and &nbsp;&nbsp; feeds it to external method. Now external method runs fine and puts the results in a list called mlist. What I want to know is how&nbsp; &nbsp; do&nbsp; I&nbsp; fetch the "return mlist" resulting from external method back to the python script which gave the input to it for processing.<br /><br />&nbsp;&nbsp;&nbsp;&nbsp; The python script is named which searchuparam which gets user input from form and does something like this:<br />uparam = str(0) + "," + str(0) + "," + str(1) + "," + str(0) + "," + str(0) + "," + str(DO) \<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + "," + str(NL) + "," + str(0) + "," + str(0) + "," + str(0) + "," + str(0) \<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + "," + str(TIME) +&nbsp; "," + str(WM) + "," + str(NOP) + "," + str(EXP) + "," + str(GKH)<br />context.code(uparam)<br /><br />code is the id of external method which processes uparam and at the end has statement <br />return mlist<br />&nbsp;&nbsp; this mlist is what I am interested in getting back. I want external method to return me this list to my python script searchuparam. I tried reading and did google last week but without success. Any help is appreciated. <br />TIA.<br /><br />yours <br />md<br />
<br><a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>