>Often there exist functions which allow you to retrieve the physical
>system path using just a relative uri path.
>'/foo' becomes 'd:\web\foo'
>'../blah' becomes 'd:\web\blah' when you are in /foo, etc.
>Is there such a function in Spyce? I imagine I can parse the
>request.filename cutting off the file, and parsing the possibly
>complicated relative uri path '../../asdf', but I am guessing there is
>already a function for this.
Yes, and no. Here's what I do in the include module:
In your spyce file you could write:
I'm not sure that this needs to be a standard Spyce function, when it's so
simple to do with Python.
All the best,