May-05-2019, 05:10 PM
The code you try to run use
You use Python 3.5.
f-string
,then you need Python 3.6 -->.You use Python 3.5.
>>> binsize = 10 >>> second = 5 >>> freq=f'{int(binsize/second)}S' >>> freq '2S'