yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #07805
Re: [Question #231437]: question about YADE doing work with PYTHON
Question #231437 on Yade changed:
https://answers.launchpad.net/yade/+question/231437
Status: Answered => Solved
Fu zuoguang confirmed that the question is solved:
Dear Christian Jakob:
You are perfect right, now I fully understand what the mistake is in this done.
#########################################################################################
import sys
sys.path.append('/home/fzg/fu/qq')
import ex
ex.fzg()
print ('There is nothing wrong with it')
########################################################################################
Before importing the ex.py, path assignation should be finished first, just like this. now all things are fine.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.