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

2018-03-12 Thread Alireza Sadeghi
Question #665440 on Yade changed:
https://answers.launchpad.net/yade/+question/665440

Status: Answered => Solved

Alireza Sadeghi confirmed that the question is solved:
Dear Jan,

Thank you very much for your help. It was about the folder that my
program was in it. it was solved. Thanks a lot.

Best Regards

Alireza

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


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

2018-03-12 Thread Alireza Sadeghi
Question #665440 on Yade changed:
https://answers.launchpad.net/yade/+question/665440

Alireza Sadeghi confirmed that the question is solved:
Thanks Jan Stránský, that solved my question.

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


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

2018-03-12 Thread Jan Stránský
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.

___
Mailing list: https://launchpad.net/~yade-users
Post to : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp