os.path.normpath is handy for cleaning stuff like this up too
(including removing /../ and /./). Doesn't really matter here, but is
nice when one wants to compare paths or prefixes.

- Robert

On Mon, Jun 4, 2012 at 8:17 AM, Volker Braun <[email protected]> wrote:
> Posix stipulates that "multiple successive slashes are considered to be the
> same as one slash". Its still ugly and not portable beyond posix, though.
>
>
> On 6/4/12 8:50 AM, Ruslan Kiianchuk wrote:
>> However it was a surprise for me that extra
>> slashes in the path are alright.
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to