Girish Sahani wrote:
> Thanks for the help borisi'll try using sets instead of lists
> But i dont understand the point below...full traceback means what :-?
see:
http://tinyurl.com/qwpsf
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the help borisi'll try using sets instead of lists
But i dont understand the point below...full traceback means what :-?
> Girish Sahani wrote:
>
However i am getting an error at the line marked with ***.
>
>>> Which error ? How do you hope us to be of any help here if you don't
Girish Sahani wrote:
> Ohh...I was thinking that posting the whole code would not be a good idea.
> The error i get above is:
> line 266, in colocationMiner
> prunedNew = genColocations(prunedK)
that's a line of code, not an error. please include the entire
traceback, or at least the actual erro
Girish Sahani wrote:
>>Girish Sahani wrote:
>>
(snip)
>>>Before the
>>>main function, i have defined the other functions such as
>>>genColocations,genTableInstances,etc. Output of genColocations is to be
>>>given to the next function genTableInstances,output of this function to
>>>tiCount and find
Girish Sahani wrote:
>>> However i am getting an error at the line marked with ***.
>> Which error ? How do you hope us to be of any help here if you don't *at
>> least* provide the full traceback ? FWIW, the canonical way to do things
>> is to:
>> - provide minimal *runnable* code exposing the p
> Girish Sahani wrote:
>> Hi,
>>
>> There is a code in my main function which is something like:
>>
>> while prunedFinal != []:
>> prunedNew = genColocations(prunedK) ***
>> tableInstancesNew =
>> genTableInstances(prunedNew,tableInstancesK)
>> tiCountDic
Girish Sahani wrote:
>>Girish Sahani wrote:
>>
>>
>>>However i am getting an error at the line marked with ***.
>>
>>what error ?
>
> ...line 266, in colocationMiner
Great. We now know at which line of an unknown file an unknown error
happens. Will use my PythonPsychicPowers(tm) now to see waht's
Girish Sahani wrote:
>
> Also,i am getting a ValueError in the code below:
>
> for s in prunedNew:
> substrings = [s[:i]+s[i+1:] for i in range(len(s))]
> for string in substrings:
> if string not in prunedK:
>
Girish Sahani wrote:
>> what error ?
> ...line 266, in colocationMiner
> prunedNew = genColocations(prunedK)
> genColocations is a function defined before which returns prunedNew.
that's a line of code, not an error. please include the entire
traceback, or at least the actual error message. al
> Girish Sahani wrote:
>
>> However i am getting an error at the line marked with ***.
>
> what error ?
...line 266, in colocationMiner
prunedNew = genColocations(prunedK)
genColocations is a function defined before which returns prunedNew.
>
>> Also,i am getting a ValueError in the code below:
>>
Girish Sahani wrote:
> Hi,
>
> There is a code in my main function which is something like:
>
> while prunedFinal != []:
> prunedNew = genColocations(prunedK) ***
> tableInstancesNew = genTableInstances(prunedNew,tableInstancesK)
> tiCountDict = tiCount
Girish Sahani wrote:
> However i am getting an error at the line marked with ***.
what error ?
> Also,i am getting a ValueError in the code below:
>
> for s in prunedNew:
> substrings = [s[:i]+s[i+1:] for i in range(len(s))]
> for string in substrin
Hi,
There is a code in my main function which is something like:
while prunedFinal != []:
prunedNew = genColocations(prunedK) ***
tableInstancesNew = genTableInstances(prunedNew,tableInstancesK)
tiCountDict = tiCount(tableInstancesNew)
tiDic
13 matches
Mail list logo