Paul Rubin <http> writes: > url = url.rstrip('/') + '/' That's what I use: It has the (nice) side effect of ending the URL with a *single* slash.
C -- http://mail.python.org/mailman/listinfo/python-list
Paul Rubin <http> writes: > url = url.rstrip('/') + '/' That's what I use: It has the (nice) side effect of ending the URL with a *single* slash.
C -- http://mail.python.org/mailman/listinfo/python-list