On Mon, Sep 14, 2009 at 12:20 PM, Anders Logg <[email protected]> wrote: > On Mon, Sep 14, 2009 at 12:10:59PM +0200, Johannes Ring wrote: >> On Mon, Sep 14, 2009 at 11:51 AM, Anders Logg <[email protected]> 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. > > Yes, I think so too, but the script said "python ./demo.py". This becomes > the input argument to Python and I guess Python understands "./" even > on Windows.
Yes, it does. > Anyway, I've removed it now. Good. Johannes _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
