Вычисление выражений Python
Вы наверняка знакомы с eval, но знаете ли вы о literal_eval? Вряд ли. Для безопасного исполнения выражений, содержащих исключительно литералы, вы можете делать так, как показано на картинке выше.
Между прочим, данная фича находится в языке уже очень давно.
#tips#eval
Noun. Crybully, plural cry·bul·lies.
A person who self-righteously harasses or intimidates others while playing the victim, especially of a perceived social injustice: It's just another group of crybullies who can't cope with anyone's views but their own.
#Teamjimmy
#sirjimmy
#Tips
WHY do smells take us back to our memories?
Information about odors goes directly to the hippocampus, which forms associative memory, and the amygdala, which processes sensory memories and forms emotional memory.
From there, the signal goes directly to the thalamus, another region that determines our attention and priorities.
That’s why we respond to smells involuntarily and cannot ignore them. Sight and words do not have this privilege.
Examples:
🧠 Delve into the topic being studied, use the advantages of associative memory, present images.
🧠 This included improved problem solving, decision making and associative memory.
🧠 When I read about food, sometimes a single word is enough to detonate a chain reaction of associative memories...
🧠 Thanks to our 'associative' memory, a dark mood - caused by one bad event - may lead you to preferentially remember other sources of stress and unhappiness.
Tell us about your experience with associative memory..
#Teamjimmy
#sirjimmy
#Tips