What I am in need of is guideline about how to integrate python script and external python method.
I have a form through which I collect user input and forward it to a python script, which concatenates input in certain pattern and 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 do I fetch the "return mlist" resulting from external method back to the python script which gave the input to it for processing.
The python script is named which searchuparam which gets user input from form and does something like this:
uparam = str(0) + "," + str(0) + "," + str(1) + "," + str(0) + "," + str(0) + "," + str(DO) \
+ "," + str(NL) + "," + str(0) + "," + str(0) + "," + str(0) + "," + str(0) \
+ "," + str(TIME) + "," + str(WM) + "," + str(NOP) + "," + str(EXP) + "," + str(GKH)
code is the id of external method which processes uparam and at the end has statement
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.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )