>
>
>
> If you're using OS functions you should NOT bank on the slashes being
> forward-slashes.  This is platform-specific behavior.  You should use
> os.path.split() to get the elements of your path and do a "/".join() on
> them.  Otherwise your code will break on Windows because the path will be
> denoted with backslashes.
>
>
What about replacing os.path with posixpath ?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to