Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Invalid Syntax" on print colored #3

Open
MaxPlay066 opened this issue Feb 24, 2022 · 1 comment
Open

Error "Invalid Syntax" on print colored #3

MaxPlay066 opened this issue Feb 24, 2022 · 1 comment

Comments

@MaxPlay066
Copy link

I'm getting this error:
image
i installed termcolor with pip. Why i'm getting this error

@The-Dark-Mode
Copy link

Make sure all the print statements in the script use parentheses to avoid syntax errors in Python 3. After making these changes, your script should run without the syntax error.

You need to update the print statement to use parentheses, like this:

print(colored("[!] Conflicting Processes Found...\n",'yellow',attrs=['bold']))

You will need to check the rest of the code for similar instances of the print statement and modify them accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants