On Jun 7, 6:13 pm, Paul Rubin <http://[email protected]> wrote: > Aaron Brady <[email protected]> writes: > > url+= { '/': '' }.get( url[ -1 ], '/' ) > > > Shorter is always better. > > url = url.rstrip('/') + '/'
I was joking. Sheesh. -- http://mail.python.org/mailman/listinfo/python-list
