I’m running Sublime Text 3 version 3.22 (Build 3211) on macOS 10.15.4 (Catalina).
I’m running Python 3.7 but I wonder if ST is somehow building with an older Python.
I’ve just started using Sublime, been learning Python for months and I’m not new to programming.
print('Hello World!) # runs okay
print(f’Hello World!’) # f-string produces Syntax Error
SyntaxError: invalid syntax
[Finished in 0.1s with exit code 1]
[shell_cmd: python -u “/Users/martinmeo/SW_DEV/PYTHON/SANDBOX/RENAME_FILES/helloWorld1.py”]
[dir: /Users/martinmeo/SW_DEV/PYTHON/SANDBOX/RENAME_FILES]
[path: /Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin]