Have you tried late binding? Does late binding produce the same error?
Regards,
Aries
[EMAIL PROTECTED] wrote:
> I'm interacting with a third party application using python and com.
> However having problems and don't know what to look at next to resolve
> the issue.
>
> The app. can be driven b
Hi George,
Here's the result:
>>> [list(group) for _,group in it.groupby("taaypiqee88adbbba")]
[['t'], ['a', 'a'], ['y'], ['p'], ['i'], ['q'], ['e', 'e'], ['8', '8'],
['a'], ['d'], ['b', 'b', 'b'], ['a']]
>>> [len(list(group)) for _,group in it.groupby("taaypiqee88adbbba")]
[1, 2, 1, 1, 1, 1, 2, 2
Hi George,
I used Python 2.4.1, the following are the command lines.
But the reslut was still False. Is there anything wrong with below
codes?
>>> import itertools as it
>>> def hasConsequent(aString, minConsequent):
for _,group in it.groupby(aString):
if len(list(group)) >
f hasConsequent(aString, minConsequent):
for ch in aString:
result = findall(ch*minConsequent, aString)
if len(result) >= 1:
return True
return False
>>> hasConsequent(s, 2)
True
>>> hasConsequent(s, 3)
True
>&g