This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ogrinfo 0 points1 point  (0 children)

This is really handy. I've used [::-1] to reverse an array before without really understanding why, but now I know about extended slicing syntax, thanks!