yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14477
Re: [Question #482400]: index out of range
Question #482400 on Yade changed:
https://answers.launchpad.net/yade/+question/482400
Status: Open => Answered
Jan Stránský proposed the following answer:
Thanks, now it is much more clear :-)
> thusunwei@thusunwei:~/myyade/trunk/py/FEMxDEM$ import sys
here is the problem, you are still in a linux shell, you have to start
python/ipython first. Then you can write "import sys" and other lines.
Or you can put all the commands into .py file and call "python
someFile.py"
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.