ncorbuk / Python---Email-Bomber

Python Email Bomber / Bomb
MIT License
190 stars 119 forks source link

Invalid syntax in line 54 #4

Open FaisalAhmed123 opened 3 years ago

FaisalAhmed123 commented 3 years ago

faisal071@HP-EliteBook-2540p:~/Python---Email-Bomber$ python Email_Bomber.py File "Email_Bomber.py", line 54 print(f'ERROR: {e}') ^ SyntaxError: invalid syntax image

c4f3firstt commented 3 years ago

Try to use Python3 instead of Python

FaisalAhmed123 commented 3 years ago

Try to use Python3 instead of Python

Even with Python 3, I still get errors, something to do with the ' instead if ". I think that managed to fix it on python 3, along with a few other minor changes. Just posted it on Github so it can be fixed rather then people having to fix it them selves

c4f3firstt commented 3 years ago

I will make a pull request changing the README so it will be easier for people

c4f3firstt commented 3 years ago

I did the Pull request, now its up to the dev to approve it now

frederikme commented 3 years ago

F-strings are supported from python 3.6 or later. So upgrading to the latest python version should do the trick