Hello,

on windows python 2.4.1 I have the following problem

>>> s = 'D:\\music\\D\\Daniel Lanois\\For the beauty of Wynona'
>>> print s
D:\music\D\Daniel Lanois\For the beauty of Wynona
>>> t = 'D:\\music\\D\\'
>>> print t
D:\music\D\
>>> s.lstrip(t)
'aniel Lanois\\For the beauty of Wynona'
>>> 

why does lstrip strip the D of Daniel Lanois also?

thanks in advance
joram


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to