yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14419
Re: [Question #566006]: A very simple question confussing me ...
Question #566006 on Yade changed:
https://answers.launchpad.net/yade/+question/566006
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
> I'm new to Yade
welcome :-)
> list indices must be integers, not tuple
exactly as the error says :-) In your code, it should be
O.engines = [... # assignment, note "=" symbol
and not O.engines[... # index access, not what you want
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.