TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #383 · 28 окт.

Что нового добавили в REPL в Python 3.13 На самом деле серьезно его прокачали! ▫️Както я писал, что для выхода из REPL приходится писать exit, еще и скобки для вызова. И было бы удобней сделать это по аналогии с обычным терминалом. Видимо, я не один такой😁 В новом REPL добавили несколько команд: exit или quit: для выхода. Именно так, без вызова функции! clear: для очистки терминала help или F1: для входа в режим справки (q для выхода) ▫️ Автокомплит по TAB аналогичный Linux-терминалу. Одиночный TAB заполняет самое пхожее совпадение, двойной показывает все доступные варианты. Эти варианты фильтруются по мере набора. ▫️ Ранее при вставке многострочного кода с пустыми строками мы получали ошибку IndentationError, теперь это исправили. Хотя, в некоторых терминалах это даже с 3.6 работает нормально, но зависит от конкретной реализации именно терминала а не Python. На винде точно не работает до 3.13. Пример кода для теста в 3.12 и 3.13 class A: def test(self): pass ▫️ История ввода теперь учитывает многосрочные команды.При нажатии стрелки вверх появятся все строки из прошлого многосрочного ввода, по ним даже можно перемещаться и редактировать. По нажатию F2 можно открыть всю историю ввода. ▫️ Колоризация кода для tracebacks и doctest. Также я заметил что имеет цвет промт функции input(). Кстати, для тестов на винде без установки можно использовать портейбл версию из проектаWinPython. #release

Hashtags

Резултати

Пронајдени 18 слични објави

Пребарај: #fury

当前筛选 #fury清除筛选
American Оbserver

@american_observer · Post #5384 · 15.03.2026 г., 15:30

Trump: Iran Will Be Attacked As Necessary Trump said on Saturday that the United States may carry out more strikes on Iran’s vital Kharg Island oil export hub “just for fun”, rejecting the prospect of a swift peace deal with Tehran. “The terms aren’t good enough yet,” the US president told NBC News. The Iranian regime wants to make an agreement, he claimed. After days of conflicting messaging from the White House on how much longer it will continue to wage war on Iran, Trump alleged that US strikes had “totally demolished” most of Kharg Island, and told the network that its military may hit site “a few more times just for fun”. “We’ve totally decimated it,” he said. “Except, as you know, I didn’t do anything having to do with the energy lines, because having to rebuild that would take years.” The president also questioned, without attribution, whether Iran’s new supreme leader Mojtaba Khamenei “is even alive” amid speculation over his condition. Trump also said it’s not clear whether Iran has dropped mines in the strait of Hormuz, which has been all but closed since the start of the conflict two weeks ago, in the 30-minute telephone call with NBC. The strait is a vital waterway in world trade, with about a fifth of crude oil typically passing through it. Concerns over the impact of the US-Israel war on Iran on global energy supplies, intensified by the strait’s paralysis, have propelled oil prices to their highest levels in four years. This has swiftly driven up fuel prices right across the world, including in the US. “We’re going to be sweeping the strait very strongly, and we believe we’ll be joined by other countries who are somewhat impeded, and in some cases impeded from getting the oil,” Trump said. It is unclear how long this process will take. He did not state which countries would join the US in this task. The president also renewed his call earlier on Saturday for other nations to help secure the strait of Hormuz and said the US will coordinate with them amid the US-Israeli war on Iran. “The United States of America has beaten and completely decimated Iran, both Militarily, Economically, and in every other way, but the Countries of the World that receive Oil through the Hormuz Strait must take care of that passage, and we will help – A LOT,” Trump wrote in a Truth Social post. He added that “the US will also coordinate with those Countries so that everything goes quickly, smoothly, and well. This should have always been a team effort, and now it will be – It will bring the World together toward Harmony, Security, and Everlasting Peace!” But he later declined to say whether the US Navy would be escorting ships. “I don’t want to tell you anything about that,” he told NBC. Trump’s assertion that the crisis in the strait of Hormuz should be resolved through a “team effort” could be seen as somewhat of a pivot from his earlier position that Operation Epic Fury was a US show of force, alongside Israel, that didn’t require international permission. The president also expressed surprise in the interview that US allies in the Gulf have been targeted by Iran. These countries “got shot at unnecessarily”, he told NBC, describing Iran’s decision to target them as “the biggest surprise I had of this whole thing”. #trump#iran#ttacks#necessary#epic#fury 📱American Оbserver - Stay up to date on all important events 🇺🇸

12
ПретходнаСтраница 1 од 2Следна