Ещё немного про base64.
Собрал пример со встроенной в код картинкой. Это иконка для окна на PySide2. Файл кодирован в base64 и просто сохранён в переменной.
Для использования этих данных даже не пришлось сохранять их в новый файл. Иконка создаётся на лету с помощью метода QPixmap.loadFromData()
...
raw_data = base64.decodebytes(ico_encoded)
ico = QPixmap()
ico.loadFromData(raw_data, "PNG")
...
🌎 Полный пример смотрите в gists.
#libs#tricks#qt
#KNC/USDT analysis :
#KNC is retracing towards the 200 EMA, indicating potential upside. The price is respecting the trendline and bouncing back, which suggests a good opportunity for a long entry. Previous highs will serve as target levels.
TF : 4H
Entry : $0.4198
Target : $0.4582
SL : $0.3939
#KNC/USDT analysis :
#KNC is currently in a downtrend, trading below the 200 EMA. The price is forming a pattern of lower lows and lower highs. At present, the price is facing resistance near the 200 EMA, suggesting a potential reversal from this point to maintain its bearish movement and establish a new lower low.
TF : 4H
Entry : $0.4419
Target : $0.4083
SL : $0.4589