Python standard library: str.startswith and str.endswith

Опубликовано: 23 Июнь 2019
на канале: Python and Pandas with Reuven Lerner
809
22

How can you check to see what a string starts or ends with? Use the methods str.startswith and str.endswith, of course.

In addition to these videos, I have an active blog and free, weekly "Better developers" mailing list; see more at https://lerner.co.il/ .

Subscribe to this channel, as I try to go through all of the Python standard library!