Hi, Im getting an error in a DTML document while trying to access an array I declared in a python script which I subsequently returned. The python script looks like: # Creates a pending array pendingArray = ['test'] return pendingArray and is called by this line in the DTML document. <dtml-call expr="createPendingArray()"> The line that is causing the error to be thrown is: <dtml-call expr="addEntryPendingArray(pendingArray,Word)"> which causes the following error: Error Type: NameError Error Value: global name 'pendingArray' is not defined Any help in this matter would be greatly appreciated.. Thanks in advance.. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com