Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
moving python project to aws ec2
#2
The code you try to run use 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'
Reply


Messages In This Thread
RE: moving python project to aws ec2 - by snippsat - May-05-2019, 05:10 PM
RE: moving python project to aws ec2 - by Skaperen - May-05-2019, 11:53 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020