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

Резултати

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

Пребарај: #simplexchat

当前筛选 #simplexchat清除筛选
Libreware

@libreware · Post #1141 · 26.05.2023 г., 13:58

SimpleX Chat: private and secure cross platform messenger without any user IDs (not even random) :~ E2E-encrypted messages with markdown and editing :~ E2E-encrypted images and files :~ Decentralized secret groups — only users know they exist :~ E2E-encrypted voice messages :~ Disappearing messages :~ E2E-encrypted audio and video calls :~ Portable encrypted database — move your profile to another device :~Incognito mode — unique to SimpleX Chat Website : https://simplex.chat/ SimpleX Chat (SimpleX Chat - e2e encrypted messenger without any user IDs - private by design!) https://f-droid.org/packages/chat.simplex.app/ Quick start – https://simplex.chat/docs/guide/readme.html #SimpleXchat#security#privacy#encryption#E2EE #FLOSS

Libreware

@libreware · Post #1143 · 26.05.2023 г., 13:59

6 Best Secure Messaging Alternatives to WhatsApp | Avoid the Hack – https://avoidthehack.com/best-secure-messengers The content of your messages and the metadata associated with them should be secure and private. Unfortunately many messengers out there fail to do this. Telegram operates in the cloud, and while this does have good portability across multiple devices and device types, the service provider (or anyone with access to the cloud server) could theoretically read them at any time with relative ease; Telegram stores messages on the third-party cloud provider's server. According to Telegram’s privacy policy, the service itself logs IP addresses and phone numbers. #Infosec#Session#SimpleXchat#Briar#Threema #Element#Telegram#privacy