← Back to team overview

yade-users team mailing list archive

Re: [Question #669404]: A bug for using of Pyrunner[]

 

Question #669404 on Yade changed:
https://answers.launchpad.net/yade/+question/669404

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi De Zang,
This modified version is no longer a "script" in the sense that it is not something that can be executed by python.
Example with the first line:
    from yade import *...
                      ^
SyntaxError: invalid syntax

Please read again link [1] from Klaus answer. In this case there may be substantial work on your side before asking an accurate question since the situation seems very intricate. I would suggest you prepare a simple case with 2-3 nested PyRunners to demonstrated this alleged 'discontinuity'.
Regards
Bruno 

p.s. And as stated by Klaus you are re-inventing in python a wheel which
is already implemented in yade's c++ code and exemplified in scripts.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.