← Back to team overview

dolfin team mailing list archive

Re: os.path.sep in test script

 

On Mon, Sep 14, 2009 at 11:51 AM, Anders Logg <logg@xxxxxxxxx> wrote:
> os.path.sep seems to be used when running the C++ but not when running
> Python demos. Is there a reason for this or is it just a typo?

I think it's enough with 'python demo.py' for the Python demos. There
is no need for './' or 'os.path.sep'. The cpp demos needs
'os.path.sep' since the demos are started with '.\demo.exe' on Windows
and './demo' on other platforms.

Johannes


Follow ups

References