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

Jan Stránský proposed the following answer:
Hello,
once again, please take care of errors. Unless you have really strange file 
structure, it should give "IOError: [Errno 2] No such file or directory: 
'home/zg/scriptf/respentry1.dat'"

Also please note that there is huge difference between
home/...
and
/home/...

you can try:
##
import os
os.path.abspath("home/zg/scriptf/representary1.dat")
os.path.abspath("/home/zg/scriptf/representary1.dat")
##

cheers
Jan

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to