Flashes Home Search Notifications Sign in Post
Reuven M. Lerner @lernerpython.com · 11d

Old #Python: url.lstrip("https://") # wrong! New Python: url.removeprefix("https://") removeprefix/removesuffix (3.9) do what everyone assumed lstrip/rstrip did. More in my "python --update" course, July 21: buff.ly/lUnsY6i

2 likes 0 replies

?

Legal

Privacy Policy Terms and Conditions

Contact

Support FAQs

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store