Python, add tailing slash to directory string, os independently

Posted by Horace Ho on Stack Overflow See other posts from Stack Overflow or by Horace Ho
Published on 2010-04-29T09:28:40Z Indexed on 2010/04/29 9:37 UTC
Read the original article Hit count: 274

how to add a tailing slash (/ for *nix, \ for win32) to a directory string, if the tailing slash is not ready there? thanks!

© Stack Overflow or respective owner

Related posts about python

Related posts about string-manipulation