Graham Wideman <initcont...@grahamwideman.com> added the comment:

Eli:  Excellent and thoughtful point. This would indeed be exactly the place to 
suggest os.path.join as an alternative.

In addition, there are still occasions where one needs to form a string with 
trailing backslash. Two examples:
1. When writing the string specifying root directory: r'C:\ '[:-1]
2. Using python to prepare command lines to run other command line programs, 
where an argument may require a final backslash to explicitly specify a target 
directory (as opposed to a file).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11479>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to