Python Forum

Full Version: removing spaces/tabs after used .strip()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi guys,

how can i removes spaces/tabs in case like this? It supposed to be in 1 line
[Image: bVkcWF1.png]

It comes from 'div'.text.strip()


#EDIT:

Ok, i guess i should use .split() and then ''.join()

#EDIT2:

Yes, i was right :P