Вы заметили что с интерактивной консолью из прошлого поста что-то не так? Что происходит если нажать стрелки вверх/вниз? Полный бардак!
Давайте поправим это дело!
Для сохранения и загрузки истории будем использовать специальный модуль readline.
Что добавлено?
🔸 Сохранение истории команд с возможностью выбора предыдущих (клавиши ⬆️⬇️ )
🔸 Сохранение истории в файл перед выходом из интерактива для будущих сессий
🔸 Автокомплит по нажатию клавиши TAB
🔸 Cписок вариантов автокомплита по двойному нажатию TAB
Код забираем здесь ↗️
#tricks#source
Will **Donald Trump’s DOJ investigation into Jerome Powell be dropped by February 28?
📊 Institutional pressure, political timelines, and signal convergence — tracked in real time.
🔗edgemarket.ai
#USPolitics#FederalReserve#DOJ#JeromePowell#Trump#EdgeMarket
🚀 White House Economic Advisor Advocates for Lower Interest Rates
The White House National Economic Council Director, Kevin Hassett, has expressed that interest rates should be lower. According to BlockBeats, Hassett anticipates that Jerome Powell will not continue as a Federal Reserve governor. He is confident that Christopher Waller will assume the role of Federal Reserve Chair in May.
#WhiteHouse#EconomicAdvisor#InterestRates#FederalReserve#KevinHassett#JeromePowell#ChristopherWaller#MonetaryPolicy
🚀 Powell Unlikely to Remain as Federal Reserve Governor, Walsh to Assume Chairmanship in May
The White House National Economic Council Director Hassett has indicated that Jerome Powell is not expected to continue as a Federal Reserve Governor. According to ChainCatcher, Walsh is set to take over as the Federal Reserve Chair in May.
#FederalReserve#JeromePowell#Walsh#Hassett#WhiteHouse#Economics#Chairmanship