← Back to team overview

yade-users team mailing list archive

Re: [Question #260135]: problem of pyrunner when import yade

 

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

Jan Stránský proposed the following answer:
You can also try to use a workaround with __builtin__ module:

def addForceStep():
   ...
import __builtin__; __builtin__.addForceStep = addForceStep

HTH
Jan


2015-01-04 14:11 GMT+01:00 Mario Reyes <question260135@xxxxxxxxxxxxxxxxxxxxx
>:

> Question #260135 on Yade changed:
> https://answers.launchpad.net/yade/+question/260135
>
>     Status: Open => Answered
>
> Mario Reyes proposed the following answer:
> Hi Carrie,
>
> I don't know if I'm wrong, but you could try with single quotation marks
> inside the PyRunner engine instead of double quotation marks. Hope this
> helps.
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.