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

Резултати

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

Пребарај: #functionality

当前筛选 #functionality清除筛选
BAGEVM 广播站

@bagenotice · Post #128 · 04.06.2025 г., 11:09

#功能通知 很高兴的通知大家,目前我们已经上线了新的自动续费的功能,已关闭传统的余额自动扣除方案,这样只有开启了自动续费按钮的机器才会自动扣除余额进行续费,其他机器将不会在出现忘记取消扣除余额的动作,欢迎大家进行体验反馈BUG。 #Functionality Notice We are very happy to inform you that we have launched a new automatic renewal function and have closed the traditional automatic balance deduction plan. In this way, only machines with the automatic renewal button turned on will automatically deduct the balance for renewal. Other machines will not forget to cancel the balance deduction action. Everyone is welcome to experience and feedback BUGs.

BAGEVM 广播站

@bagenotice · Post #119 · 14.04.2025 г., 10:33

#功能通知 很高兴的通知大家,目前我们已经上线了流量自动重置的功能,在流量重置页面你可以点击针对单个实例,设置在流量使用完毕后在账号余额充足的情况下,系统会自动帮您扣除余额重置流量 https://www.bagevm.com/index.php?m=trafficreset #Functionality Notice We are pleased to inform you that we have now launched the traffic automatic reset function, in the traffic reset page you can click on a single instance, set in the traffic after the use of sufficient account balance, the system will automatically help you deduct the balance to reset the traffic https://www.bagevm.com/index.php?m= trafficreset

BLC Market - mini-app BulCoin

@bulcoin_blc · Post #287 · 09.03.2026 г., 11:30

How task creation will work in BLC Market We continue to showcase the interface of the future BLC Market app. Today - one of the key elements of the platform: task creation. A user will be able to post a task in just a few steps: • choose a category • describe the task • add photo or video - if needed • set the price, choosing the coin for payment • publish the task After publication, the task becomes available to performers who can offer their services. All transactions will take place within the platform using BLC. In the following posts, we will show: • what the performer's profile will look like • how arbitration will occur through the Association of Arbitration Courts • how the transaction system works Early access to the interface testing is given to Pioneers participants. #Tasks#BLC_Market#functionality FAQ | BUY