Panagiotis,

On Sat, Mar 19, 2016 at 2:38 PM, Panagiotis Mougkogiannis <pm...@leeds.ac.uk
> wrote:

> Hello Dear all,
>
>
> I am struggling to run the larch-0.9.27 examples.
>
> From previous email messages in IFEFFIT info page I managed to install
> larch and the icons appeared in my desktop (see attached picture larch_1)
>
> but when I am trying to run the example 
> http://cars.uchicago.edu/xraylarch/xafs/autobk.html#examples
>
> I received this message (see attached picture larch_2)
>

Why are you attaching pictures?  The output is plain text.  Please just
copy and past the text.  The full text, including what you typed and the
full error message.

> what is happened?
>

Well, like the error message says, it could not find the file.

Unfortunately you did not include either the full text of what you ran or
the full text of the output and sent a picture of your selection of the
output.

> what is the working directory of larch?
>
I don't know... where did you start larch from?

> Is it like something python ?
>

Not sure I understand, but I think you asking if the working directory like
something python?  If so, yes, in that it inherits the  current working
directory from the shell you are in when you start the program.

> If you use the commands
>
> *import os *
>
> *print os.getcwd()*
>
> you 'll find your working directory and after you can run your modules?
>
>
>
Yes, that will print the working directory. You might find just using the
builtin `cwd()` is easier.  If you would like to change the working
directory, using `cd('../xafsdata')` is the easiest way to do it.   Note
that on Windows, dealing with '\' and drive letters can be a pain, but that
this basically same behavior as Python itself.

Hope that helps,

--Matt
_______________________________________________
Ifeffit mailing list
Ifeffit@millenia.cars.aps.anl.gov
http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
Unsubscribe: http://millenia.cars.aps.anl.gov/mailman/options/ifeffit

Reply via email to