2008/12/31 Phillip J. Eby <p...@telecommunity.com>: > Change that to [os.path.normpath(p)+'/' for p in paths] and you've got > yourself a winner.
s#'/'#os.sep# to make it work on Windows as well :-) Have we established yet that this is hard enough to get right to warrant a stdlib implementation? Paul _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com