;ò ,(³?c@sÁdfd„ƒYZdefd„ƒYZedjo‡dZdeGHdGHeƒZdGHeieƒd GHeiƒGHd GHeid ƒd GHeiƒGHd GHeid ƒd GHeiƒGHndS(sPsychePostProcessorcBs8tZdZdZd„Zd„Zd„Zd„ZRS(so all this class does is allow derived classes to set a result, or share the stored result. scCs ||_dS(N(sresultsselfs_result(sselfsresult((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pys set_result scCs|i||_dS(N(sselfs_resultsresult(sselfsresult((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pysappend_to_resultscCs||i|_dS(N(sresultsselfs_result(sselfsresult((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pysprepend_to_resultscCs |iSdS(N(sselfs_result(sself((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pys get_results(s__name__s __module__s__doc__s_results set_resultsappend_to_resultsprepend_to_results get_result(((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pysPsychePostProcessors    sPsycheInteractivePPcBs)tZdZd„Zd„Zd„ZRS(sã for an interactive object, setup_pipes must be called to specify the input and output pipes. read_input will grab the next availible input, and send_output sends whatever was stored by set_result. cCs||_||_dS(N(sinputsselfs_PsycheInteractivePP__inputsoutputs_PsycheInteractivePP__output(sselfsinputsoutput((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pys setup_pipess cCs|iiƒSdS(N(sselfs_PsycheInteractivePP__inputsgetline(sself((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pys read_input!scCs|i|iƒdS(N(sselfs_PsycheInteractivePP__outputs_result(sself((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pys send_output$s(s__name__s __module__s__doc__s setup_pipess read_inputs send_output(((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pysPsycheInteractivePPs   s__main__sthis is a sample string.s >> X = %ss>> p = PsychePostProcessor()s>> p.set_result(X)s>> p.get_result(X)s!>> p.prepend_to_result('prepend')sprepend s>> p.append_to_result('append')s appendN( sPsychePostProcessorsPsycheInteractivePPs__name__sXsps set_results get_resultsprepend_to_resultsappend_to_result(sPsychePostProcessorsPsycheInteractivePPspsX((sB/home/flatline/documents/psyche/postprocess/PsychePostProcessor.pys?s$