[Zope] delete multiple records sql python etc
tgraham@speakeasy.net
tgraham@speakeasy.net
Thu, 6 Dec 2001 14:32:57 -0800
Thanks everyone I seem to have gotten over a major hump in the application. Once I get it all ironed out I'll add it to zopelabs.
Thanks again,
T
On 06 Dec 2001, Jim Penny wrote:
> On Thu, Dec 06, 2001 at 12:53:12PM -0800, Todd
> Graham wrote:
> > Thanks again for the info, I've been down
> > this road before and I'm able to pass the
> > three values from the form to the python
> > script, but it does not seem to come over as
> > a true list that allows one to assign
> > variables to items in the list.
> >
> > For example:
> >
> > say the value of throw_away_script is
> >
> > Value1_Value2_Value3
> >
> > which as far as the script is concerned the
> > list has only 1 entry. Then my question
> > becomes how do you parse out the values and
> > assign them to a variable?
> >
> > Thanks,
> >
> > T
>
> suppose parameter val.
>
> python script:
>
> import string my_tuple=string.split(val, '_')
> return my_tuple
>
> Jim Penny