Different little python code snippets i more or less regularly need