On 2014-07-22, varun bhatnagar <[email protected]> wrote: > I want to strip the space between *<nodePeriod>* and *</nodeInfo>* > Can anyone suggest a way out to do that?
Look at str.rstrip() - by default it removes trailing whitespace including carriage returns. -- https://mail.python.org/mailman/listinfo/python-list
