Cameron Beattie wrote:
The list consists of something like this: [61282125371L, 1, 6, 0].
Are you _sure_ this is a plain python list?
Looking at its format, and the apparently weird nature of your other
questions, are you maybe abusing a relational database somewhere in this
spider's web?
- Original Message -
From: "Cameron Beattie" <[EMAIL PROTECTED]>
To:
Sent: Thursday, December 15, 2005 1:25 AM
Subject: Re: [Zope] Unauthorized exception when trying to access a list item
Cameron Beattie wrote:
I am trying to access a value in a list. The script
Cameron Beattie wrote:
I am trying to access a value in a list. The script getDIDS_list is
passed a list called listoflists:
list = listoflists
ret = []
tup = (0,1,2)
factortup = (1,2)
factor = 2
for i in range(len(list)):
# 1 == 1
if i in tup:
if i in factortup:
x = list[i] * fac
Cameron Beattie wrote:
I am trying to access a value in a list. The script getDIDS_list is
passed a list called listoflists:
list = listoflists
ret = []
tup = (0,1,2)
factortup = (1,2)
factor = 2
for i in range(len(list)):
# 1 == 1
if i in tup:
if i in factortup:
x = list[i] * facto