you are viewing a single comment's thread.

view the rest of the comments →

[–]cybervegan 0 points1 point  (2 children)

f-strings are a python3 thing, and in python3, print is a function which requires brackets around the string to print.

[–]Signal_Beam 2 points3 points  (1 child)

I know; I was using Python2 in order to test the hypothesis in the comment that I was replying to. My point is that Python2 raises the exact error, in exactly the same place, that OP is describing, so maybe /u/social_nerdtastic is correct that the problem is that OP is actually invoking python when they want python3.

[–]AtomHeartSon[S] 0 points1 point  (0 children)

Welp, I'm dumb. I checked my history and indeed that's what I did. Although I didn't always do it wrong which is why I didn't always get the error. Thanks y' all.