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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #104 · 19 јун.

Ещё немного про base64. Собрал пример со встроенной в код картинкой. Это иконка для окна на PySide2. Файл кодирован в base64 и просто сохранён в переменной. Для использования этих данных даже не пришлось сохранять их в новый файл. Иконка создаётся на лету с помощью метода QPixmap.loadFromData() ... raw_data = base64.decodebytes(ico_encoded) ico = QPixmap() ico.loadFromData(raw_data, "PNG") ... 🌎 Полный пример смотрите в gists. #libs#tricks#qt

Резултати

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

Пребарај: #converisation

当前筛选 #converisation清除筛选
English Speakers

@English_Speakers · Post #5139 · 23.12.2022 г., 16:46

#converisation #Beginner #Daily_life @English_speakers ⚜➖⚜➖⚜➖⚜➖⚜➖ A: I’m going to take a nap. B: You should unplug the phone. A: That’s a good idea. B: Do you want me to wake you in an hour? A: No, thanks. Just let me sleep until I wake up. B: I’ll start dinner at 6:00. A: Okay. I think I’ll be awake by then. B: If not, your nose will wake you up. A: You mean I will smell the food cooking? B: You might even dream about dinner A: I don’t think I’m going to dream about anything. I’m really tired. B: Have a nice nap. Listen and practice 👇