← Back to team overview

yade-users team mailing list archive

Re: [Question #657126]: Performing a penetration test

 

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

Jan Stránský posted a new comment:
Hello,

the os.path.abspath was just to show the difference between home/.. and /home.. So again with print:
##
import os
print os.path.abspath("home/zg/scriptf/representary1.dat")
print os.path.abspath("/home/zg/scriptf/representary1.dat")
##
for usual directory tree, the first path (which you provide to the script) should not exist (there are too many directories which does not exist. On the other hand, the second should be valid path.
For your plot.saveDataTxt, I think you should use "/home/..." instead of "home/..." (as is illustrated in #24 of this thread)

> there is no results file (representary) created in the folder.

Was your script run without errors? If not, which errors you got? If
yes, what was the terminal output of the script? And what was the
script?

Furthermore, this really is not related to the original question, so if
your problem with saving data is not solve, please open a new question.

cheers
Jan

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