← Back to team overview

dolfin team mailing list archive

Re: [Question #146607]: I am having difficulty starting out with FEniCS

 

Question #146607 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/146607

    Status: Open => Answered

Anders Logg proposed the following answer:
On Wed, Feb 23, 2011 at 07:49:15PM -0000, Kyle Williston wrote:
> Question #146607 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/146607
>
>     Status: Answered => Open
>
> Kyle Williston is still having a problem:
> Thank you I will look into CBC.Solve it looks very promising.
>
> I plan to write programs in Python. I have one final question for now
> regarding this. I am attempting to run the demo.py in the command shell
> by typing 'python demo.py' however the file is not located in the
> correct sub-folder. Which folder should I be saving demo files and
> additional programs I create?

You should save them in the same directory as where you type 'python
demo.py' or, equivalently, change the directory to where that file is
stored before you run the command.

--
Anders

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.