removing spaces/tabs after used .strip() - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: removing spaces/tabs after used .strip() (/thread-21039.html) |
removing spaces/tabs after used .strip() - zarize - Sep-11-2019 hi guys, how can i removes spaces/tabs in case like this? It supposed to be in 1 line It comes from 'div'.text.strip() #EDIT: Ok, i guess i should use .split() and then ''.join() #EDIT2: Yes, i was right :P |