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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #176 · 2 ное.

Модуль Qt․py это не просто текстовый модуль, его компоненты генерируются на лету в зависимости от ситуации. Поэтому ваша любимая IDE не сможет качественно сообразить автокомплиты под этот модуль. Решение здесь более чем очевидно, надо сделать stubs-файлы. Это файлы с расширением .pyi, описывающие содержимое модуля но не имеющие рабочего кода. Ну что, готовы потратить пару месяцев своей жизни чтобы описать все классы Qt и их методы? 😭 Расслабьтесь, за вас это уже сделали добрые люди. Спасибо Fredrik Averpil ! Качаем здесь ⬇️ https://github.com/fredrikaverpil/Qt.py/tree/stubs/stubs/Qt Не думаю что стоит устанавливать Qt․py из этого репозитория. Он там не обновляется. Так что забираем только файлы .pyi. За актуальность этих файлов тоже не ручаюсь, но большинство методов там имеются. Установка: 🔸 Вариант 1: - находим куда установлен сам модуль Qt․py, это будет одинокий файл который так и называется Qt․py - кидаем директорию рядом с ним (если есть доступ на запись). Должно получиться так: 📁 site-packages\ 📄 Qt.py 📁 Qt\ ... 🔸 Вариант 2 - копируем директорию Qt куда угодно - пробиваем путь к ней в настройках энвайронмента в переменную PATH так, чтобы путь был ДО директории Qt. Закинуть можно и в свою домашнюю директорию. Если скопируете сюда: ~/stubs/Qt То переменную пишем так export PATH=~/stubs:${PATH} После этого IDE должна распарсить stubs-файлы и автокомплиты появятся 😎 #qt#libs#tricks

Резултати

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

Пребарај: #rodríguez

当前筛选 #rodríguez清除筛选
White House Watch

@Whitehousewatch · Post #17392 · 31.01.2026 г., 12:12

#Venezuela La Presidente ad interim Delcy #Rodríguez (#PSUV|Estrema sinistra) ha annunciato la presentazione di una legge di amnistia generale per tutti i prigionieri politici del Paese che dovrebbe “coprire l’intero periodo di violenza politica dal 1999 al presente”. "Questa legge servirà a sanare le ferite lasciate dal confronto politico, alimentato dalla violenza e dall'estremismo. Ci permetterà di rimettere in carreggiata la giustizia nel nostro Paese", annunciando inoltre “un'importante consultazione nazionale per un nuovo sistema giudiziario" e l’intenzione di chiudere il carcere di El Helicoide a Caracas, ove per i gruppi per i diritti umani venivano imprigionati e torturati i prigionieri politici, per trasformarlo in un “entro sportivo, culturale e commerciale per le famiglie dei poliziotti e le comunità limitrofe”. @OsservatorioEsteri

White House Watch

@Whitehousewatch · Post #16870 · 05.01.2026 г., 01:40

#Venezuela#USA Presidente ad interim Delcy #Rodríguez (#PSUV|Estrema sinistra): "Il Venezuela ribadisce il suo impegno per la pace e la coesistenza pacifica. Il nostro Paese aspira a vivere senza minacce esterne, in un clima di rispetto e cooperazione internazionale. Crediamo che la pace globale si costruisca garantendo innanzitutto la pace di ogni nazione. Riteniamo prioritario procedere verso relazioni internazionali equilibrate e rispettose tra Stati Uniti e Venezuela, e tra il Venezuela e i Paesi della regione, basate sull'uguaglianza sovrana e sulla non ingerenza. Questi principi guidano la nostra diplomazia con il resto del mondo. Invitiamo il governo degli Stati Uniti a lavorare insieme su un programma di cooperazione, orientato allo sviluppo condiviso, nel quadro del diritto internazionale, e a rafforzare una coesistenza comunitaria duratura". @OsservatorioEsteri

American Оbserver

@american_observer · Post #4877 · 17.01.2026 г., 00:03

📰CIA Director Ratcliffe Meets Venezuela’s Interim President in Caracas CIA Director John Ratcliffe met with Delcy Rodríguez, Venezuela’s interim president, in Caracas on Thursday—marking the highest-level U.S. visit since the dramatic U.S. military operation that captured President Nicolás Maduro nearly two weeks ago. Ratcliffe’s trip was directed by President Trump to signal that the U.S. sees Rodríguez’s interim government as the best path to stability in the short term, despite opposition frustration over the lack of a quick transition to María Corina Machado’s camp. ​ Stability Over Revolution The meeting focused on intelligence cooperation, economic stability, and ensuring Venezuela is no longer a “safe haven for America’s adversaries, especially narco-traffickers.” U.S. officials emphasized that breaking up the Venezuelan government after Maduro’s removal could trigger chaos similar to the kind of chaos that followed the Iraq invasion. CIA analysts reportedly see Rodríguez as a pragmatic, rather than ideological, figure willing to negotiate with Washington. ​ Behind the Scenes: Pragmatism and Power Rodríguez, Maduro’s former vice president, has shifted her rhetoric, publicly inviting the U.S. to cooperate. But Trump has warned that if she fails to comply, her fate could be worse than Maduro’s. The administration is clear: the U.S. will “run” Venezuela until a safe transition is possible, prioritizing control over oil and security assets above all else. ​ Protests and Uncertain Alliances With ongoing protests in Venezuela, the opposition remains sidelined, and the U.S. is betting on Rodríguez to maintain order. But questions linger: How long will this uneasy alliance last? And will the U.S. eventually let democracy take its course—or keep pulling the strings? ​ #Venezuela#CIA#Ratcliffe#Trump#Rodríguez#Maduro#USIntervention#OilPolitics 📱American Оbserver - Stay up to date on all important events 🇺🇸