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

TGINSIGHT SIMILAR POSTS

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

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

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks

Hashtags

Резултати

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

Пребарај: #jcpoa

当前筛选 #jcpoa清除筛选
Russian MFA 🇷🇺

@MFARUSSIA · Post #28878 · 26.03.2026 г., 21:39

🎙Russian Foreign Minister Sergey Lavrov's interview with France Télévisions(March 26, 2026, Moscow) Read in full ❓Question: Let us turn to the situation in the Middle East. The US and Israel have launched a military operation against Iran. It has now been going on for 20 days. You have done much to defend your ally – Iran. Why? 💬Sergey Lavrov: We have been defending not so much the Islamic Republic as – first and foremost – international law. Iran is not an ally per se, but a strategic partner, as reflected in the relevant Treaty. I do not think that the French, who have traditionally and historically also claimed to stand on the side of international law, fail to see what is happening. In fact, one does not even need to “see” it – we are watching it unfold in real time. When US President Donald Trump says that international law does not interest him and that he will be guided by his own moral principles and instincts, this can hardly be met with approval. Russia has repeatedly signalled to the Americans the need to establish dialogue on resolving all the problems of the Persian Gulf and the Middle East region as a whole. ☝️Every time the US and its allies interfere in the processes unfolding in the region, the situation becomes ever more dismal. Iraq, Syria and Libya have been destroyed – and no one knows when Libya will be “put back together”. The same is now happening to Iran. Moreover, this is already the second time in a row that aggression against this country has begun at the height of negotiations. Everyone is talking about this. It cannot but raise serious questions about the American negotiators who were supposedly conducting this political and diplomatic process. When senior members of the US administration speak with bravado and pride about the cold-blooded killing of Iran’s Supreme Leader and other members of the country’s leadership, it is difficult to call this anything other than cynicism. <...> ❓ Question: You say that the US and Israel are violating international law in Iran. Can we ask you the same question and say that Russia is violating international law in Ukraine? 💬Sergey Lavrov: It is not me who is telling you that the US and Israel are violating international law in Iran. It is a fact that no one denies, including the French leadership and a number of other EU countries. On other continents as well, Everyone understands perfectly well what is going on. <...> What is the difference between the situation in Iran and that in Ukraine? The difference is that the Islamic Republic has not violated any international obligations, including with regard to its nuclear programme. In 2015, the Joint Comprehensive Plan of Action (#JCPOA) was signed. It was endorsed by the UN Security Council. The JCPOA was dismantled by the US when, in 2017, during President Trump’s first term, it withdrew from the plan in violation of all its obligations. Iran violated nothing. Ukraine violated everything that could be violated, together with its Western patrons (*above all, the Minsk Agreements endorsed by the UN Security Council). And when, in December 2021, we proposed concluding treaties with the US and NATO on security guarantees that would ensure a balanced model of security and stability based on a balance of interests between Russia, Ukraine and the West, we were told that this was none of our business and that Ukraine would join NATO. 👉 Therefore, to say that we gave no warning, or that France, Germany and Ukraine’s other patrons did not know they were steering things towards a crisis, in my view, is not quite correct. I have not the slightest doubt that serious French political analysts and politicians fully understand what this is about and what lies at the root of the current crisis.

Hashtags

🎙Russian Foreign Minister Sergey Lavrov's interview with France Télévisions(March 26, 2026, Moscow) Read in full ❓Question: Let us turn to the situation in the Middle East. The US and Israel have launched a military operation against Iran. It has now been going on for 20 days. You have done much to defend your ally – Iran. Why? 💬Sergey Lavrov: We have been defending not so much the Islamic Republic as – first and foremost – international law. Iran is not an ally per se, but a strategic partner, as reflected in the relevant Treaty. I do not think that the French, who have traditionally and historically also claimed to stand on the side of international law, fail to see what is happening. In fact, one does not even need to “see” it – we are watching it unfold in real time. When US President Donald Trump says that international law does not interest him and that he will be guided by his own moral principles and instincts, this can hardly be met with approval. Russia has repeatedly signalled to the Americans the need to establish dialogue on resolving all the problems of the Persian Gulf and the Middle East region as a whole. ☝️Every time the US and its allies interfere in the processes unfolding in the region, the situation becomes ever more dismal. Iraq, Syria and Libya have been destroyed – and no one knows when Libya will be “put back together”. The same is now happening to Iran. Moreover, this is already the second time in a row that aggression against this country has begun at the height of negotiations. Everyone is talking about this. It cannot but raise serious questions about the American negotiators who were supposedly conducting this political and diplomatic process. When senior members of the US administration speak with bravado and pride about the cold-blooded killing of Iran’s Supreme Leader and other members of the country’s leadership, it is difficult to call this anything other than cynicism. <...> ❓ Question: You say that the US and Israel are violating international law in Iran. Can we ask you the same question and say that Russia is violating international law in Ukraine? 💬Sergey Lavrov: It is not me who is telling you that the US and Israel are violating international law in Iran. It is a fact that no one denies, including the French leadership and a number of other EU countries. On other continents as well, Everyone understands perfectly well what is going on. <...> What is the difference between the situation in Iran and that in Ukraine? The difference is that the Islamic Republic has not violated any international obligations, including with regard to its nuclear programme. In 2015, the Joint Comprehensive Plan of Action (#JCPOA) was signed. It was endorsed by the UN Security Council. The JCPOA was dismantled by the US when, in 2017, during President Trump’s first term, it withdrew from the plan in violation of all its obligations. Iran violated nothing. Ukraine violated everything that could be violated, together with its Western patrons (*above all, the Minsk Agreements endorsed by the UN Security Council). And when, in December 2021, we proposed concluding treaties with the US and NATO on security guarantees that would ensure a balanced model of security and stability based on a balance of interests between Russia, Ukraine and the West, we were told that this was none of our business and that Ukraine would join NATO. 👉 Therefore, to say that we gave no warning, or that France, Germany and Ukraine’s other patrons did not know they were steering things towards a crisis, in my view, is not quite correct. I have not the slightest doubt that serious French political analysts and politicians fully understand what this is about and what lies at the root of the current crisis.

Hashtags

Russian Mission to EU

@RussianMissionEU · Post #2217 · 17.10.2025 г., 15:05

⚡️Statement by the Russian Foreign Ministry on the expiration of UN Security Council Resolution 2231(October 17, 2025) On October 18, the ten-year period established by UN Security Council Resolution 2231 since the adoption of the Joint Comprehensive Plan of Action (#JCPOA) on the Iranian nuclear program will expire. At this point, the implementation of all provisions of Resolution 2231 should cease, including the restrictions and procedures it envisaged. The UN Security Council must conclude its consideration of matters related to the Iranian nuclear program. The item “Non-proliferation” should be removed from the Council’s agenda. As these changes were pre-agreed when the JCPOA was concluded and endorsed by Resolution 2231, they are likewise reflected in the Presidential Decree of March 11, 2016, “On Measures to Implement UN Security Council Resolution No. 2231 of July 20, 2015”, the provisions of which remain in force strictly until the expiry of the established term. Further development of Russian-Iranian cooperation in various fields will continue in full accordance with our national legislation and international obligations. 👉 A solid foundation for this is the Treaty on Comprehensive Strategic Partnership between the Russian Federation and the Islamic Republic of Iran, signed at the highest level in Moscow in January 2025 and entered into force on October 2, 2025. We note that the aggressive attempts made by the European participants in the JCPOA to restore the UN Security Council’s sanctions resolutions against Iran – revoked under Resolution 2231 – have failed. Contrary to their insistent but unfounded claims, the process of reimposing previous sanctions on Iran cannot be considered valid due to the serious violations of Resolution 2231 committed by the UK, Germany, and France, as well as their total disregard of the established procedures that were specifically designed to prevent such manipulation. *** With the expiration of Resolution 2231, the JCPOA itself – once rightly regarded as a major achievement of international diplomacy –also becomes history. In its early years, it quickly proved effective and credible, allowing the IAEA to fully close its outstanding questions regarding Iran. The successful implementation of the JCPOA was intended to enable Tehran to fully exercise its right to the peaceful use of nuclear energy in accordance with the NPT and its obligations under the Treaty. After the JCPOA’s expiration, Iran’s nuclear program should be treated in the same manner as that of any other non-nuclear-weapon state party to the NPT. October 18, 2025, is thus established as the official date of the expiration of Resolution 2231. No decisions reversing this have been adopted, while the Russia-China initiative to technically extend the JCPOA for six months was arrogantly rejected by the Western bloc, once again demonstrating its unwillingness to negotiate and its reliance on unlawful methods and brute force. Control over Iran’s nuclear activities will henceforth be exercised solely on the basis of the NPT and the Comprehensive Safeguards Agreement between Iran and the IAEA. ❗️The Russian Side remains firmly committed to a political and diplomatic settlement of issues surrounding the Iranian nuclear program and calls on all parties involved to focus their efforts on finding necessary solutions in order to prevent a new, uncontrolled escalation of tensions that could have serious consequences for regional and international security. We stand ready to fully assist in these efforts. Read in full

Hashtags

Iran Pakistan news

@iranpakistan · Post #151 · 06.09.2022 г., 01:08

Колесо судьбы. МИД Иранаанонсировал визит президента Эбрахима Раиси 15-16 сентября в Узбекистан на саммит Шанхайской организации сотрудничества (ШОС). А 13-го сентября 2022 в Нью-Йорке состоится открытие 77-ой сессии ООН, куда Раиси сенсационно был приглашён, и Иран отправил его документы на визу. Карьера и судьба Раиси - личная, политическая - решается в эти дни. Что решит Хаменеи? Что решит Вашингтон? Историческое присутствие в Нью-Йорке аятоллы, находящегося под санкциямиСША, ядерная сделка, миллиарды инвестиций - или региональный уездный саммит ШОС в Самарканде. Или и то, и другое? Если улыбнётся Фортуна. #АятоллыПротивПогон, #JCPOA, #СВПД

Иран, Пакистан и Афганистан

@IranPakistanAfganistan · Post #1202 · 23.08.2022 г., 10:14

🇮🇷🇺🇦 Посол Украины в Иране Сергей Борделяк пригласил иранские компании участвовать в восстановлении послевоенной Украины. Интересный поворот, если учесть заявленную российско-иранскую дружбу, поставку БПЛА и необъявленный пока финал переговоров по ядерной сделке 5+1. #ViennaTalks, #JCPOA, #СВПД https://en.mehrnews.com/news/190546/

🎙Russia's Permanent Representative to the UN Vassily Nebenzia’s answers to media questions on the occasion of assuming UNSC Presidency by Russia (October 1, 2025) Major talking points: #KeyEvents • The Council will travel to Addis Ababa in October. Russia is honored to be leading the UNSC together with our co-leads in Somalia. A new department – on Partnerships with Africa – has been recently established in the Russian Foreign Ministry. Therefore, the visit to Addis will be the highlight of our Presidency. • October 23 – open debate on the Middle East: The unfolding catastrophe in Gaza will be in the focus of the Council’s attention. We expect Deputy Special Coordinator Ramiz Alakbarov to brief the Council. • October 24 – the UN Day (80th Anniversary of the UN Charter): an open debate titled UN: Looking into the Future. Aim: strict implementation of the principles of the UN Charter, restoring confidence in the Organization and long-term vision for its future. We expect the Secretary-General to brief the Council. • October 6 – Women, Peace and Security: it is the 25th anniversary of the UNSC seminal Resolution 1325. This event hold special importance to us, as the Soviet Union pioneered the women’s agenda more than a hundred years ago promoting equal rights. #JCPOA • Our Western colleagues who initiated the so-called “snapback”, the legitimacy of which we do not recognize, forfeited a diplomatic solution by initiating an illegal procedure while being serial violators of Resolution 2231. Russia and China offered to extend Resolution 2231 to give diplomacy a chance, which they basically killed. We do not recognize this “snapback” as coming into force. We are not, frankly, happy that the Secretary-General rushed to implement the resolution, which has obvious legal flaws. • We are looking forward to direct or indirect negotiations with the US that can bring results. Such dialogue is not happening now, and this situation is fraught with major escalation around Iran, opening the door to attempts to end its nuclear program – yet another destabilizing factor in an already fragile Middle East. #RussiaUN • We emphasize that the UN is indispensable, that its Charter must be applied in its entirety, and that attempts to bypass or weaken the Organization with "exclusive clubs" undermine global peace and security. Russia advocates a more representative, multipolar UN that reflects the voices of the Global South. • The UN is a reflection of the geopolitical situation that is in the world. Should we blame the Organization for it? For me, the UN is a sum of its Member States. If they cannot agree on anything, it is unfair to blame the UN for it. Margaret Thatcher said once that if you want to blame the UN, go and look in the mirror. Read in full

Aus dem Interview des russischen Außenminister Sergej Lawrow mit dem Nachrichtensender „Al-Arabiya“, 18. Februar 2026 Die USA haben den Iran, seine Atomobjekte, die unter der Kontrolle der Internationalen Atomenergie-Organisation (IAEO) stehen, früher schon angegriffen. Soweit wir wissen, waren die Risiken real. Nach den Angaben unserer iranischen Kollegen, ist die Lage momentan relativ stabil. Leider hat der Angriff der USA und Israels auf den Iran nicht nur physische Risiken verursacht, sondern auch die Autorität der IAEO und des Vertrags über die Nichtverbreitung von Kernwaffen (NVV), der, wie der Iran mehrmals betont hat, für das Land verbindlich bleibt, untergraben. Beispiellos war die Kontrolle der IAEO, besonders in den letzten Jahren, als der JCPoA unterzeichnet wurde. Der Iran wurde kein einziges Mal wegen der Verletzung des NVV oder seines Sicherungsabkommen mit der IAEO überführt. Wir haben keinen Grund zu zweifeln, dass der Iran die aktuelle Situation auf der Grundlage der Einhaltung und Anerkennung der Prinzipien des NVV beilegen will. Jetzt wurde in Genf bei der zwischen den USA und dem Iran wiederaufgenommenen Verhandlungen unter Vermittlung von Oman eine Idee aufgegriffen, dass der Iran überhaupt von seinen Rechten auf die Anreicherung von Uran zu allen Zwecken verzichten soll, und zwar entweder komplett, oder sein Raketenprogramm wesentlich einschränken und aufhören, jegliche politischen Kräfte in der Region zu beeinflussen. Dies ist völlig inkorrekt. Die erste Forderung spricht dem NVV wider. Der Iran hat das Recht auf die friedliche Nutzung von Uran, was immer unter der strikten Kontrolle der IAEO stand. Die Internationale Atomenergie-Organisation hat nie festgestellt, dass das angereicherte Uran zu militärischen Zwecken genutzt wird. Als die USA aus der JCPoA ausgestiegen sind, hat der Iran angekündigt, dass er nicht mehr durch Einschränkungen gebunden ist und fing an, Uran auf einen höheren Grad anzureichern. In der Tat ist dies ein Thema, das besprochen werden sollte, da niemand eine plötzliche Weiterverbreitung von Kernwaffen wünscht. Der Iran erklärt sich bereit, zur rein zivilen Nutzung der Kernenergie unter Aufsicht der IAEO zurückzukehren. Ich verfolge sehr aufmerksam die Reaktion der arabischen Staaten, der Golfmonarchien darauf, was in der Region geschieht. Niemand will neue Eskalationen. Allen ist klar, dass das ein Spiel mit dem Feuer ist. Die Signale, die die arabischen Staaten nach Washington senden, sind eindeutig: Sie rufen dazu auf, Zurückhaltung zu üben und nach Vereinbarungen zu suchen, die einerseits die legitimen Rechte Irans nicht beeinträchtigen und andererseits – einschließlich durch Überprüfungs- und Kontrollmaßnahmen – garantieren, dass der Iran ausschließlich friedliche Programme im Bereich der Urananreicherung verfolgt. 🔗 Quelle @RusBotschaft #Iran#IAEO#JCPoA#NVV

Россия в ОБСЕ

@RusMissionOSCE · Post #7786 · 15.12.2025 г., 19:00

🎙Russia's Foreign Minister Sergey Lavrov’s interview with the Islamic Republic of Iran Broadcasting media corporation(Moscow, December 15, 2025) Read in full Key points: • Throughout history, Europe has repeatedly been a source of all evil and spawn of deepest crises. <...> Europe is now trying again to dictate to everyone its terms and wishes which seem to be connected with the Ukraine crisis. • Europe is using it to assert itself, to throw sand in the wheels and scheme against the United States and all those who seek a just settlement. • The theory and practices of Nazism are being resurrected in Europe, primarily in Brussels but also in Berlin, London, Paris, not to mention the Baltic States. • Europe is waging a war with us once again with Ukrainians under a Nazi flag, <...> pumping Ukraine with increasingly more modern weapons. • One of major purposes [of the new US National Security Strategy] is to make Europe know its place and to prevent it from imposing its liberal ways • The United States wants to set up its policy for opposing China. <...> We are not against competition, however, it should be fair. • Europeans have theft running in their blood, which we can see from the example of “frozen” Russian assets. By the way, Iranian assets are also partially frozen like Venezuelan assets and assets of many other countries. • The West, including the United States, do not always has enough power to maintain its domination, and thus they have to resort to dirty, anti-democratic and anti-market methods. • The West is planning and trying to split the group of the five Caspian states and impose decisions which will not get a consensus of the Caspian countries. • The second outrageous example is Palestine. Not only was the UN Security Council resolution violated in this case, but also a great number of resolutions of both the Security Council and the UN General Assembly. • The last year’s developments around the Iranian nuclear programme, the absolutely outrageous illegitimate actions by Europeans, the attempts to put the blame on the Islamic Republic of Iran for the collapse of the Joint Comprehensive Plan of Action (#JCPOA), <...> reaffirms that the entire world order is being subject to most severe tests. • When Iran was attacked by Israel followed by the United States, we condemned those actions as having absolutely nothing to do with international legality. The key is that so far no one has offered any clear evidence that Iran has violated something, neither the IAEA, nor the Israelis, nor the Americans. • Russia is firm in its commitment to ensuring the Islamic Republic of Iran its unconditional right to the peaceful use of nuclear energy, just as any other country. • Russia and Iran signed a Comprehensive Strategic Partnership Treaty. We will always support Iran and promote its legitimate rights. • Our bilateral plans [with Iran] are serious enough as are our plans of cooperation in the world arena. I mean in #BRICS, the #SCO and the #EAEU. This includes the United Nations and the Organisation of Islamic Cooperation. • We are also engaged in investment cooperation. In addition to the North–South corridor, there is also such a flagship project as the Bushehr NPP – its construction is ongoing. • There is a promising format that will help strengthen security in the [Middle East] – I am referring to the relations between the Islamic Republic of Iran and the Gulf Cooperation Council (#GCC). • There is the Collective Security Treaty Organisation, and we want to work with the Islamic Republic of Iran and with other neighbouring countries, including within this organisation’s framework. • In recent months, the Islamist Republic has made it clear that it is not seeking war or new conflicts. • In the United States and certain countries of Europe <...> there are people who have been speaking out in favour of reviving the arms limitation and control frameworks, including transparency measures. Iran and Russia have been proactive in backing this approach.

Russian MFA 🇷🇺

@MFARUSSIA · Post #28436 · 18.02.2026 г., 19:29

🎙 Russia's Foreign Minister Sergey Lavrov’sinterview with Al Arabiya television channel(Moscow, February 17, 2026) Key talking points: #TheArabWorld • We enjoy solid relationships with all Arab countries and their organisations. These include the League of Arab States (LAS), with which we have held about half a dozen ministerial meetings. We also plan to hold the Russia-LAS summit. We also maintain a close relationship with the Gulf Cooperation Council (GCC), which has been maintained by annual events at the level of foreign ministers. #SaudiArabia • Saudi Arabia is the leader of the Arab world, a country of two Holiest sites in Islam, and the author of the Arab Peace Initiative to settle the most complicated and enduring crisis, the Palestinian issue. • Our country regards Saudi Arabia as its strategic partner in the region. We believe that this view is shared by our Saudi colleagues. We are very pleased with our cooperation. • We are developing humanitarian, cultural, educational and sports ties. <...> A few days ago, I had a conversation with my friend, Foreign Minister Faisal bin Farhan Al Saud. One of the issues we discussed concerned the preparation of Intervision International Music Contest, which reflects the striving of Russia and Saudi Arabia to promote traditional values. • We enjoy solid relationships with all Arab countries and their organisations. These include the #LAS, with which we have held about half a dozen ministerial meetings. We also plan to hold the #RussiaLAS summit. We also maintain a close relationship with #GCC. #Iran • Regrettably, Israel and the US went ahead with the strikes [against Iran], creating physical risks and undermining the authority of the #IAEA and the #NPT. The IAEA has exerted unprecedented control, especially in the past years, after the signing of the #JCPOA. Iran was never found violating the Non-Proliferation Treaty or its agreement on guarantees with the IAEA. All risks and political tensions emerged after the US withdrew from the JCPOA in 2018. #Syria • Mutual respect and mutual benefit – these are the principles that have underpinned our relations with Syria from the very beginning, since its establishment. We hold these relations in high regard. • We firmly believe that a multiethnic, multi-confessional state such as Syria must restore its unity, territorial integrity, and sovereignty as swiftly as possible. In this endeavour, we will continue to – and indeed already do – assist Damascus and its new leadership. • As for our military facilities, discussions are ongoing. Let me reiterate: the Syrians are keen for our presence to endure. #Palestine • We should not overlook the fact that the situation in the West Bank is becoming increasingly tense and volatile as a result of Israeli actions, including the recent issuance of directives regulating land acquisition and urban development procedures. Until recently, such matters were coordinated with the Palestinian National Authority. Now, however, unilateral decisions are being taken, and analysis of their likely consequences suggests that little may remain of the territories currently administered by the Palestinian National Authority. Now, however, unilateral decisions are being taken, and analysis of their likely consequences suggests that little may remain of the territories currently administered by the Palestinian National Authority. #UkrainianCrisis • Europe hysterically demands that Russia start talks and that all sides agree that Europe must be part of these talks. <...> Europe has revealed its Nazi essence, which we thought was destroyed with the Hitler’s defeat in WWII. It has turned out to be extremely tenacious. I don’t see what role Europe could play. • We greatly value the stance taken by the Trump administration and personally by the President of the US. We are closely observing Europe’s attempts to dissuade the current Washington administration from its principled stance, as discussed and agreed in Anchorage, Alaska. We remain fully committed to those understandings. Read in full