Ещё немного про base64.
Собрал пример со встроенной в код картинкой. Это иконка для окна на PySide2. Файл кодирован в base64 и просто сохранён в переменной.
Для использования этих данных даже не пришлось сохранять их в новый файл. Иконка создаётся на лету с помощью метода QPixmap.loadFromData()
...
raw_data = base64.decodebytes(ico_encoded)
ico = QPixmap()
ico.loadFromData(raw_data, "PNG")
...
🌎 Полный пример смотрите в gists.
#libs#tricks#qt
#DEXE/USDT analysis :
#DEXE is currently in an uptrend on the higher time frame (HTF). The price is in an accumulation phase, consolidating sideways. A breakout from this consolidation is anticipated soon, which would likely continue the bullish rally and test the swing high. We should look for potential pullbacks to establish long entries.
TF : 1W
Entry : $8.260
Target : $18.100
SL : $6.340
#DEXE/USDT analysis :
#DEXE is currently facing resistance from the 200 EMA on the daily time frame. On the 4-hour time frame, it has broken and retested the support zone. The price is now likely to continue its bearish momentum and test new lows.
TF : 4H
Entry : $8.461
Target : $7.953
SL : $8.783