lets see,i have a link image from result of scraping.
e.g: https://xxxx-zzz/zzz/xxx/.png1234w
how i can removed string after .png meant "1234w"
Im tried using rsript() but didn't work
string.rstrip(".png")
I dont know what my wrong,im just begging from python