Could someone explain this to a newbie
Sean Berry
sean at sands.beach.net
Tue Apr 27 13:45:42 EDT 2004
>>> text = 'zone "southernpine.com" {'
>>> text.lstrip("zone \"")
'southernpine.com" {'
This is expected.
>>> text = 'zone "newsouthpine.com" {'
>>> text.lstrip("zone \"")
'wsouthpine.com" {'
This is not.
What happened to the ne...
I suppose that is the secret, because I have
tried with other words beginning with ne and
they do not work either.
--
More information about the Python-list
mailing list