News for hackers. Stuff that matters.
Re:Show HN: Change Python code while it's running using a re... by progval on Friday October 18, 2019 @05:12PM (#21295131)
That's an f-string, so it only works with Python 3.7 and later
Re:Show HN: Change Python code while it's running using a re... by kbd on Friday October 18, 2019 @05:30PM (#21295251)
f-strings were introduced in Python 3.6, fyi:

https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep49...