Вы заметили что с интерактивной консолью из прошлого поста что-то не так? Что происходит если нажать стрелки вверх/вниз? Полный бардак!
Давайте поправим это дело!
Для сохранения и загрузки истории будем использовать специальный модуль readline.
Что добавлено?
🔸 Сохранение истории команд с возможностью выбора предыдущих (клавиши ⬆️⬇️ )
🔸 Сохранение истории в файл перед выходом из интерактива для будущих сессий
🔸 Автокомплит по нажатию клавиши TAB
🔸 Cписок вариантов автокомплита по двойному нажатию TAB
Код забираем здесь ↗️
#tricks#source
Stress changes meaning — but you have to hear it to notice it 👂
Some English words look the same as nouns and verbs,
but the stress moves — and it sounds very different.
Watch these short videos to actually hear it:
📹https://youtu.be/Hh1PlngNt2Q?t=64
📹https://www.youtube.com/watch?v=7q8yk896pnc
Listening is the only way you’ll spot the difference.
Try saying these aloud after you watch 🎤
#EnglishLearning#Pronunciation#RealEnglish
Vocabulary tips are everywhere — but which one actually works?
You’ve probably seen all of these tips before.
The real question is:
Which one do you actually use?
#EnglishLearning#Vocabulary#LearnEnglish#EnglishTips#RealEnglish
5 phrasal verbs with “PAY”
I shared the questions first on purpose — to make you think before seeing the meanings.
That struggle helps the meanings stick better than passive reading.
If a meaning surprised you, that’s good — it means your brain is actually learning.
#EnglishLearning#PhrasalVerbs#LearnEnglish#RealEnglish