The Zen of Python, by Tim Peters

August 03, 2024

I know this exists in exactly one billion places on the Internet, but figured another blog post wouldn't hurt. Digging this:

The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is . . .

Read More

Refresher on negative indexing in python

July 02, 2024

Friendly reminder regarding python slice notation for negative indexing. It's covered really well here.

Basically, the last value has an index of -1... second last has an index of -2... and so on.

 +---+---+---+---+---+---+
 | P | y | t | h | o | n |
 +---+---+---+---+---+---+
 0 1 2 3 4 5
 -6 -5 -4 -3 -2 -1 . . .

Read More

Archive
   Subscribe by email and never miss a post.

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!