mrprogrammer2938 / DDos-Attack

(DDos-attacker) Tool!
https://github.com/mrprogrammer2938/DDos-Attack
MIT License
87 stars 26 forks source link

SyntaxError #2

Open Darkhnes opened 3 years ago

Darkhnes commented 3 years ago

File "DDos.py", line 21 print color.green + """ ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(color.green + """)?

When i run this in Ubuntu 20.04.2 LTS i get this error message. The command i typed was: python3 DDos.py

ProfTahseen commented 3 years ago

Apparently, programmer wrote this code in python 2 syntax. Try using

python2 <filename.py>

You need to install Python 2 from its website first!

mrprogrammer2938 commented 2 years ago

Yep


mrprogrammer2938 commented 2 years ago

Fix

You can run the program with python3