The meaning of `this`

https://lemmy.world/post/31027668

In Python you can use this as a variable name
You can use anything that doesn’t start with a digit or punctuation as a variable name (underscore beginning also allowed) unless it’s a keyword.

_ (sic) as a variable name is often used when a function returns multiple outputs but you only want one

def my_function return 1, 2, 3 _, two, _ = my_function()

_ can also be used in the python interactive terminal to mean ‘last return value’

Ie:

> 'string' 'string' > a = _ > print(a) string