Ещё немного про base64.
Собрал пример со встроенной в код картинкой. Это иконка для окна на PySide2. Файл кодирован в base64 и просто сохранён в переменной.
Для использования этих данных даже не пришлось сохранять их в новый файл. Иконка создаётся на лету с помощью метода QPixmap.loadFromData()
...
raw_data = base64.decodebytes(ico_encoded)
ico = QPixmap()
ico.loadFromData(raw_data, "PNG")
...
🌎 Полный пример смотрите в gists.
#libs#tricks#qt
#CTSI/USDT analysis :
#CTSI is currently trading at a support zone and is expected to bounce back from this level, rising to test the resistance zone. A potential gain of 140% is anticipated from the current level.
TF : 1W
Entry : $0.1405
Target : $0.3404
SL : $0.0888
#CTSI/USDT analysis :
#CTSI has bounced off from the support zone and is expected to continue its bullish momentum towards the previous swing high.
TF : 30min
Entry : $0.1250
Target : $0.1295
SL : $0.1218