[Python-ideas] os.path.join

Geoffrey Spear geoffspear at gmail.com
Wed Oct 30 17:50:07 CET 2013


On Wed, Oct 30, 2013 at 12:34 PM, anatoly techtonik <techtonik at gmail.com> wrote:
>   >>> os.path.join('/static', '/styles/largestyles.css')
>   '/styles/largestyles.css'
>
> Is it only me who thinks that the code above is wrong?

No, the code is obviously wrong. What's your idea? To make the bit
about absolute paths in the documentation all bold, red, and blinking?


More information about the Python-ideas mailing list