@PensivePost · Post #5371 · 23.08.2021 г., 18:31
#yourreview#review Could relate to the core! 'Filled with people deaf,dumb and blind' Simple and impactful and apt
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #173 · 28 окт.
Для тех кто пишет расширения на PyQt/PySide для CG-софтов. Когда я только начинал писать тулзы под Maya (тогда еще версия 2010-2011) мне приходилось ручками ставить PyQt4 под Maya. Даже написал мануалы по установке на своём сайте. Но потом стал доступен из коробки PySide и позже он обновится до PySide2. Для некоторых систем была поддержка PyQt5. И как простому разработчику поддерживать этот зоопарк? Ведь хочется чтобы тул работал на любой версии (вы тоже делали модуль что-то типа import_qt.py?😁) На помощь приходит проект Qt.py который поставил себе цель унифицировать использование Qt-биндингов вне зависимости от среды где запускается код. Те, кто давно пишут на Qt, скорее всего знают этот проект. Он стал стандартом для CG-индустрии и используется в топовых студиях и проектах. Qt․py помогает запускать один и тот же код на разных платформах с разными вариантами Qt-библиотек. Это может быть как интеграция в CG-софт, так и переносимость стендалонов между разными платформами с разными версиями Python. Я решил рассказать о некоторых особенностях работы с этой библиотекой. Сегодня о том, как установить и использовать Qt․py и что это вам даёт. Установка pip install Qt.py Чтобы начать использовать Qt․py в коде достаточно заменить импорт вашего варианта Qt-биндинга на Qt․py from [PySide|PyQt4|PySide2|PyQt5] import QtWidgets => from Qt import QtWidgets Теперь ваш код будет поддерживать любой вариант биндинга Qt в Python. При этом не потребуется использовать if-else конструкции под разные версии. Все вызовы теперь одинаковы. Всё что нужно сделать, это написать его по правилам PySide2. Именно эта версия была взята за основу. Приоритет импорта такой: 1. PySide2 2. PyQt5 3. PySide 4. PyQt4 Что именно загрузилось можно посмотреть в переменной __binding__ >>> import Qt >>> Qt.__binding__ 'PySide2' Приоритет имопрта можно изменить через переменные QT_PREFERRED_BINDING и QT_PREFERRED_BINDING_JSON. Причем под каждый проект оверрайды можно настраивать индивидеально. #qt#libs
Пребарај: #yourreview
@PensivePost · Post #5371 · 23.08.2021 г., 18:31
#yourreview#review Could relate to the core! 'Filled with people deaf,dumb and blind' Simple and impactful and apt
Hashtags
@PensivePost · Post #5105 · 15.04.2021 г., 11:34
#review #yourreview #thoughts Indeed the water rises, indeed the rivers flow, Beneath them mighty waves, Pondering and degrading the earth that knits their path. I see a gash, like a mighty wind, A tide too unbreakable by the screams of fear. And as it all comes to a still, The earth smelling fresh again, The frogs croaking, The crickets tuning a melody. And like the old grandma's hut, A smoke rises on the moist tatched kitchen, A meal, God has provided, The land will bear fruit, The children will have something, Cause the owner of the land, Has commanded it to yield. I see the villagers smile, A tune and a libation, For a cry is heard, A perfect gift of a son, I hear the drummers play the tom toms, I feel the harmony of the ululation, Tomorrow the women will gather together, To welcome and teach the young mother, How to love and to hold her little one. It is beautiful, the heart cannot contempt. Surely, tomorrow, the sun will rise again and we will smile. We will allow every rhythm and melodies made by life to flow to our hearts through the ears, We will love, we will rejoice and we will call it a blessed land
Hashtags
@PensivePost · Post #5170 · 06.05.2021 г., 06:10
I knew a girl who liked to draw, Pictures for only her eyes. She was more artistic late at night. Her drawings were different, No paper, No pen. But she needed a bandage, And wore long sleeves twenty-four/seven. We stood by the river, Under the stars, When she rolled up her sleeves And showed me her scars. She felt embarrassed and stared at her shoe. Then I rolled up my sleeves and whispered, "I draw too." #review#yourreview#noob
Hashtags
@PensivePost · Post #5007 · 18.03.2021 г., 09:30
My tears,Your tears. Our face grew hot as the fire. This mood can strike . Erupting in loud shouts, Like an extra. Wondering why we're here. Our mouth leaks with affection. My words,Your intention. Let us know our feelings. Electricity runs through our veins Shadows seem to follow. Snacking on sweet and sour lollies Nobody understands Defeated like deflated balloons Cowering in the corner at night. Our pains , we've future buzzing. I find a smile, It appears on your face. But it only widens When our heart flops together. #review #love #yourreview
Hashtags
@PensivePost · Post #5704 · 03.05.2022 г., 18:13
#iam#Rocky#yourreview#review Love the way you are Hey buddy, yes you, one who is reading this, you may be alone, not having many friends unlike others, not having enough money to live up to your dreams, may be to even fulfil your small and cutest wishes, you might be tied up all day with your course books, stressful office work, those computers and the hectic tasks, you might be feeling like running away from all your problems and just forget about all your worries, those stressful tasks and from toxic people and enjoy the beauty of the wonderful life. Buddy, you are not alone, me, you, all the top CEO’S, the world politicians, world class celebrities, sportsmen and many real life heroes were been in the same stressful situations, Just stay calm, just feel the beauty of nature, love yourself, love the way you are, the way you are living your life. Have some inner peace, don’t be very harsh on yourselves, just believe in your dreams ,focus on your goals, your passion and nothing else. Don’t give a f* about all these f* things, the girl who rejected you, the friend who betrayed you, the relative who keeps judging you, the society which is putting you shame all the time. Just Focus on your dreams, which is going to bring a grand new reality to new. Remember, no matter where you are and what you are, how worse the situation is, always have that smile on your face, which is going to make all the difference. Bye Bye. (Rocky)
Hashtags
@PensivePost · Post #4841 · 30.01.2021 г., 06:20
#review#yourreview#sm#i’mABrokenMan I’m a broken man don’t know who to trust. Being a broken man allows you not to trust. I’m a broken man with lots of blood, bleeding from the heart like a river. Being a broken man helps people raft on the red stream And they don’t give a damn, whether you die in shiver The moon is the only friend who acknowledges my tears. Stars, like a bodyguard help me fight out my fears. But sun, sometimes behaves as a foe for his rays of light, focuses me to reach my actual height. Nevertheless, I’m a broken man. Broken down piece by piece by the sword, of the goddess of beauty sharpened up with innocence, cunning ferocity. Never even cared, if I’m happy or sad, wouldn’t even matter if I’m alive or dead. I’m a broken man, who knows how to fix the glasses. But, being a broken man, There comes a why. Why even bother , rebuilding it. Everything broken down into bits and pieces. And so am I.
Hashtags