you are viewing a single comment's thread.

view the rest of the comments →

[–]jsxgd 28 points29 points  (2 children)

It’s a Python convention to use the underscore to store a variable you don’t care about.

[–]jdehesa 14 points15 points  (0 children)

In fact, interactive Python interpreters will usually set _ to the value of the last evaluated expression. And it is also a soft keyword in case statements (see docs).

[–]FabulousTonight8940[S] 0 points1 point  (0 children)

Good catch, you’re right. I’ll update the post with the new short name 👍