Вычисление выражений Python
Вы наверняка знакомы с eval, но знаете ли вы о literal_eval? Вряд ли. Для безопасного исполнения выражений, содержащих исключительно литералы, вы можете делать так, как показано на картинке выше.
Между прочим, данная фича находится в языке уже очень давно.
#tips#eval
🍊⋆。˚ ¿cuándo empezar a estudiar para cada tipo de evaluación? ·.🧺 ༘
Tareas expositivas o seminarios: 1-1/2 semanas antes
Cuestionarios o preguntas escritas: 4-5 días antes
Pruebas o Exámenes Comprobatorios: 1 semana antes
Ensayos: empieza a recopilar información 3 semanas antes
Parciales o Intrasemestrales: 2 semanas antes
Pruebas Finales: 3 semanas antes
Proyectos: empieza un mes antes
!!Esto es lo que me ha funcionado a mi y he aprendido en mi primer año como universitaria.
📔 | t.me/apuntes_digitales
🥐 | #tips#horarios#rutinas
Here are ten poetic #metaphors you can use in your poems:
1. A storm of thoughts - Describing a mind overwhelmed by ideas or worries.
2. Her voice is honey - Conveying the sweetness and soothing quality of someone's voice.
3. The city is a sleeping giant - Representing a city that seems quiet but is full of latent energy.
4. Time is a thief - Illustrating how quickly time passes and takes moments away.
5. His heart is a locked door - Depicting someone who is emotionally closed off.
6. The sky is a canvas - Imagining the sky as a work of art, painted by the elements.
7. A river of memories - Referring to a continuous flow of past experiences.
8. Her smile is sunshine - Comparing someone's smile to the warmth and brightness of the sun.
9. Life is a fragile thread - Expressing the delicate and transient nature of life.
10. Words are seeds - Suggesting that words have the power to grow into ideas or influence.
Each of these metaphors can add depth and emotion to your poetry, creating vivid images in the reader's mind.
#tips
❗️
❗️
❗️
❗️
❗️
❗️
❗️
❗️
❗️
❗️
❗️
❗️
Writing #Tips from #Ficiton Authors:
"My first rule was given to me by TH White, author of The Sword in the Stone and other Arthurian fantasies and was: Read. Read everything you can lay hands on. I always advise people who want to write a fantasy or science fiction or romance to stop reading everything in those genres and start reading everything else from Bunyan to Byatt."
— Michael Moorcock
@WritersCafe
holaa! hice un pequeño post sobre el #studytwt hace un tiempo y hoy tuve la motivación para subirlo, vengo a decir que está comunidad me ha ayudado mucho a ser más productiva en cuánto a mis estudios (tengo que trabajar en ser productiva para hacer post!!) por eso no me leen por acá seguido lqm!! 🌻🌻
#study#tips
It's midnight.
There's thick fog.
You're in the countryside.
There's a cold feel to the place.
#settings#prompt
Once you have the outline for your setting, imagine yourself there. Close your eyes if it helps (after you've read the following...)
- What do you see? For example, what buildings or natural formations? Are there any people? Animals, plants?
- What do you hear? Smell? What textures can you feel? Can you taste anything? Use any or all of your senses.
- Zoom in, make a note of details.
At this point, write as much as you like, but later, edit ruthlessly. Too much description can be boring!
#tips@WritersClub | @WritersCafe
These advanced writing strategies are aimed at writers looking to refine voice, elevate craft, and provoke thought:
🧠 1. Master Subtext and Implication
Great writing isn’t just about what’s said—it’s about what’s unsaid. Use subtext to create tension, irony, or emotional depth. Readers love decoding meaning between the lines.
Instead of “She was angry,” show clenched fists, clipped dialogue, or the silence that says more than shouting.
🔄 2. Manipulate Structure and Pacing
Experiment with non-linear timelines, dual perspectives, or fragmented narratives. Pacing isn't just about speed—it's a tool for emotional rhythm. Use short bursts to jolt or long, lyrical passages to lull.
🎭 3. Develop Unreliable Narrators
They’re not just mysterious—they challenge readers’ assumptions. Whether through selective memory, warped perception, or intentional deceit, unreliable narrators add complexity and ambiguity that can elevate your work.
🌪 4. Embrace Literary Tension
Tension isn’t only in plot—it’s in theme, voice, structure. Create internal conflicts (love vs duty, truth vs comfort), and external ones (a gentle character trapped in a brutal world). Let contradictions drive the story.
✒️ 5. Craft Symbolic Resonance
Objects, settings, and images can become metaphors if layered with meaning. Recurring motifs can echo a character’s arc or a theme’s evolution. Subtlety is key—trust the reader’s intellect.
📚 6. Deconstruct Genre Expectations
Play within genre conventions, then subvert them. A fantasy story might reject the hero’s journey, or a romance might center emotional vulnerability over romantic resolution. Make readers question what “should” happen.
🧬 7. Polish Your Syntax Like Prose Music
Sentence rhythm matters. Vary sentence length with purpose. Read your work aloud—does it flow, snap, soar, stumble? Think of prose as choreography for the reader’s mind.
#tips@WritersCafe#WritingTips#CharacterDevelopment
❗️
❗️
❗️
Some of the techniques you can employe while writing two characters who are thinking simultaneously without making it clunky are as below:
1. Alternating Inner Thoughts (Ping-Pong Style)
Let them “think in turns” within the same scene.
Example:
She watched him stir his coffee—slow, deliberate.
Why is he so calm?
He felt her eyes on him.
She’s suspicious already. Play it cool.
✅ Keeps the rhythm.
✅ Feels like real-time interaction.
2. Third-Person Dual POV (Scene-Level Switch)
Tell the scene from one POV at a time, and then switch in the next scene or chapter.
Example:
Scene 1: We’re in Emma’s head.
Scene 2: Same moment or next one, but now in Noah’s head.
✅ Prevents clutter.
✅ Lets you go deeper into each person’s psyche.
🚫 Avoid switching heads mid-paragraph—it confuses readers.
3. Close Third-Person + Body Language Clues
Stick to one character’s POV, but show the other’s inner world through behavior, expressions, or small actions.
Example:
She bit her lip, debating whether to speak. He shifted in his seat, as if bracing for something.
Was he nervous too?
✅ Suggests mutual thought without head-hopping.
✅ Subtle and realistic.
4. Split Dialogue with Inner Conflict
Let their spoken dialogue carry subtext, and sprinkle in inner monologue to contrast or heighten the moment.
Example:
“You trust me, right?” he asked, smiling.
Say yes. Just say yes, she told herself.
“Of course,” she replied.
But he caught the tremor in her voice.
She’s lying.
✅ Great for building tension and mistrust.
✅ Feels cinematic.
5. Shared Thoughts or Misinterpretation
Sometimes both characters can have similar or opposite internal reactions to the same moment—this creates drama or irony.
Example:
He thought she looked bored.
She thought he wasn’t paying attention.
They were both wrong.
✅ Good for romantic tension or comedy.
✅ Works best in narration-heavy or stylized prose.
6. Parallel Narrative (Split Format)
Use stylistic formatting—like side-by-side text, alternating paragraphs, or even text messages/journal entries—to contrast their thoughts.
✅ Creative format.
✅ Great for Gen Z/YA fiction.
🚫 Use sparingly or it may feel gimmicky.
❗️
❗️
❗️
❗️
❗️
✔️ TL;DR
✅ DO
» Let thoughts play off each other.
» Keep the rhythm flowing.
» Use inner monologue + external cues.
» Switch POV only at clear scene breaks.
❌ DON’T
» Repeat the same moment from both heads word-for-word.
» Head-hop mid-paragraph.
» Over-explain every thought.
____________________________________________
#tips@WritersCafe#WritingTips#CharacterDevelopment
🎯 КАРБОКСИГРАФИЯ — визуализация сосудов без йода (CO₂)
Карбоксиграфия — современная альтернатива ангиографии с использованием углекислого газа (CO₂) вместо йодсодержащих контрастов. Метод особенно актуален для пациентов с аллергией на йод и нарушением функции почек.
Почему именно CO₂?
🛡 Безопасность: отсутствует нефротоксичность и риск аллергии.
🫁 Быстрое выведение: до 80% газа удаляется через лёгкие, не нагружая почки.
🔎 Хорошая визуализация: низкая вязкость помогает равномерно заполнять сосуды.
💰 Экономичность: ниже стоимость по сравнению с йодными контрастами.
Кому подходит карбоксиграфия?
🩺 Пациентам с почечной недостаточностью (CO₂ не ухудшает функцию почек).
⚕️ Пациентам с аллергией на йодсодержащие контрасты.
🦵 При тромбозах артерий нижних конечностей.
🩸 При желудочно-кишечных кровотечениях.
🏥 Для интраоперационного контроля (в т.ч. при TIPS — трансъюгулярном внутрипечёночном портосистемном шунтировании).
Преимущества перед традиционной ангиографией
✅ Минимальные риски: нет нефротоксичности и аллергии.
📈 Высокая информативность: детальная оценка сосудистого русла в широком диапазоне клинических задач.
🔁 Универсальность: от диагностики до навигации во время операций.
Есть ли ограничения?
⚠️ Противопоказано введение газа выше диафрагмы (риск газовой эмболии).
🧑⚕️ Методика требует опыта оператора и может занимать больше времени.
Вывод
Карбоксиграфия — безопасная, эффективная и экономичная альтернатива классической ангиографии, особенно значимая для пациентов группы риска по почечной функции и аллергическим реакциям, а также при сложных сосудистых вмешательствах (например, TIPS).
📲Узнайте больше у специалистов ЦКБ ГА и обсудите, подходит ли метод именно вам.
#ЦКБГА#Карбоксиграфия#ПилипосянЕленаАнатольевна#Ангиология#Ангиография#CO2#КонтрастБезЙода#СосудистаяХирургия#Диагностика#БезопаснаяМедицина#Почки#TIPS