[IPython-dev] problem with accerciser and ipython
Ralph Blach
chipperb at nc.rr.com
Tue May 4 13:39:01 EDT 2010
Thanks for the suggestion.
I will try and find out.
Chip
Gökhan Sever wrote:
>
>
> On Tue, May 4, 2010 at 11:27 AM, Ralph Blach <chipperb at nc.rr.com
> <mailto:chipperb at nc.rr.com>> wrote:
>
> I have installed accerciser and ipython .10 on an fedora 12 x86_64
> machine
> accerciser 1.9.3
> ipython .10
>
> I bring up Ekiga, and go to the contacts table, and enter the
> following commands
>
> table=acc.queryTable()
> In [37]: for i in range(table,nRows):
> <ERROR: 'dict' object has no attribute 'len'>
>
>
> What is in your table? You might be calling range with erroneous
> arguments.
>
> I[1]: mydict = {"a":1, "b":2, "c":3}
>
> I[3]: for i in mydict:
> ...: print mydict.keys()
> ...:
> ...:
> ['a', 'c', 'b']
> ['a', 'c', 'b']
> ['a', 'c', 'b']
>
> I[4]: range(mydict)
> ---------------------------------------------------------------------------
> TypeError Traceback (most recent call
> last)
> TypeError: range() integer end argument expected, got dict.
>
> --
> Gökhan
More information about the IPython-dev
mailing list