Ещё немного про base64.
Собрал пример со встроенной в код картинкой. Это иконка для окна на PySide2. Файл кодирован в base64 и просто сохранён в переменной.
Для использования этих данных даже не пришлось сохранять их в новый файл. Иконка создаётся на лету с помощью метода QPixmap.loadFromData()
...
raw_data = base64.decodebytes(ico_encoded)
ico = QPixmap()
ico.loadFromData(raw_data, "PNG")
...
🌎 Полный пример смотрите в gists.
#libs#tricks#qt
#POLYX/USDT analysis :
#POLYX has rebounded from the previously respected support zone and is currently trading above a minor support level. The price is expected to move upward from this level and test the swing high resistance.
TF : 2h
Entry : $0.1790
Target : $0.2036
SL : $0.1688
#POLYX/USDT analysis :
#POLYX has broken out and retested the support zone above the 200 EMA. The price is expected to continue its bullish momentum and test previous highs.
TF : 15min
Entry : $0.2353
Target : $0.2593
SL : $0.2232
#POLYX/USDT analysis :
#POLYX is presently establishing a bullish channel. The price has recently rebounded from the support zone and is now progressing to test the previous swing high.
TF : 4H
Entry : $0.2231
Target : $0.2538
SL : $0.2029