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 слични објави

Пребарај: #futuremindssummit

当前筛选 #futuremindssummit清除筛选
Opportunities with Zula

@opportunities_zula · Post #1859 · 16.04.2026 г., 18:48

Yes, you heard it right! The Future Minds Summit covers your airfare, meals, accommodation, and even your visa costs. Eligibility: Open to Worldwide Participants 📍 Bangkok, Thailand 🇹🇭 🗓 Event Dates: 16-19 July 2026 ⏳ Deadline: 16 June 2026 👉 Apply here: https://thegyn.org/fms-thailand/ (link in bio) #FutureMindsSummit #Thailand #CallForDelegates#YouthLeadership#FundedOpportunity FMST

Opportunities with Zula

@opportunities_zula · Post #1845 · 15.04.2026 г., 10:44

📣 Call For Worldwide Applications! The Future Minds Summit Thailand 🇹🇭 2026 invites motivated youth from across the world to take part in a global leadership and Intellectual dialogue on Sustainable Development Goals in Bangkok, Thailand 🎓 Theme: Exploring Sustainability through Innovative Minds 🌍 Open to Worldwide Participants Scholarship Covers: ✈️ Airfare 🗄️ Visa Fees (if any) 🏨 Accommodation 🍽 Meals & Tea Breaks 📄 Visa support & Certification 🎙️ Speaking Opportunity at the Forum 🤝 All Social Activities & Cultural Fest 🗓 Event Dates: 16-19 July 2026 ⏳ Deadline: 16 June 2026 👉 Apply here: https://thegyn.org/fms-thailand/ #FutureMindsSummit #Thailand #CallForDelegates#YouthLeadership#FundedOpportunity

Opportunities with Zula

@opportunities_zula · Post #1857 · 16.04.2026 г., 15:42

Bangkok is Calling Future Leaders! Visit: https://tinyurl.com/fms-thailand2026 Applications are now open for the GYN FutureMinds Summit 2026 in vibrant Bangkok, Thailand Whether you're a student, graduate, or professional (ages 16–45), this is your chance to connect, learn, and lead on a global stage. No specific background required — just passion and vision! What’s Covered? Airfare Accommodation Meals & Tea Breaks Visa Support & Fees (if applicable) Speaking Opportunity Cultural Fest & Social Activities Certification Join a diverse network of changemakers, gain international exposure, and make your voice heard where it matters. Tag someone who shouldn’t miss this opportunity! #FutureMindsSummit#FullyFunded#YouthLeaders#GlobalOpportunities#Bangkok2026#Changemakers#ApplyNow