← Back to team overview

yade-users team mailing list archive

Re: [Question #665440]: how can make a path for yade to load python files

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Alireza,

> I am new user of YADE

welcome :-)

the error says, that Python does not know about Hello.py file. There are a few possible reasons
1) the actual file could be named differently, hello.py (linux is case sensitive)
2) in the terminal, you are in different location than you saved Hello.py file. So e.g. if you save your hallo.py in e.g. Documents/yade, you should write in terminal
cd Documents/yade
and then yade Hello.py

let us know if it helped

cheers
Jan

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