Talk Python To Me cover image

#275: Beautiful Pythonic Refactorings

Talk Python To Me

00:00

Python Scripting

Python is one of the only languages that has something called negaive negative index slicing, where you can pass it out a negative one. It's so much more convenient than doing, like, a len minus one or something like that. Its like, i want the last three. I don't want to care how long it is. I just want the last 3. And in python, we can just call is numeric on our value, which will return us true or false, based on whether it's a number.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app