Hello All ,
ST default encoding is Ascii so there are cases when a command line working python does not work in SB. I have found no solution for the following issue :
mystring=‘KERING 496,300 € © +0,34%’ -> will cause an Ascii error in ST due to the ‘€’
So i run it by adding:
-- coding: utf-8 --
mystring=‘KERING 496,300 € © +0,34%’
But then the following standard statement causes a syntax error
LastDate = str(f’{datetime.datetime.now():%Y-%m-%d-%H:%M}’)
There seems to be no way out of this catch 22 situation.
I am surely going wrong somewhere… I hope
