yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #03658
import module
Hi all,
I have a question on how to import a module into a python script to be run
with Yade. I do all as it should be, but apparently if in the script I
include the line import myNameModule, on the console it says that "module
myNameModule not found". OTHT, if I do not include this line in the script,
but say I run one step and then on the console I type import myNameModule,
then it can find it. Do you have the same problem? Would you know why this
could happen just to me, eventually? Should I perhaps include yade.wrapper
into the py module as long as it is using Yade objects?
Thanks, Chiara
Follow ups