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

Colorise script output using Colorama #3

Open
c-rhodes opened this issue Nov 17, 2016 · 0 comments
Open

Colorise script output using Colorama #3

c-rhodes opened this issue Nov 17, 2016 · 0 comments

Comments

@c-rhodes
Copy link
Owner

We should prettify the output of the yt_happy_or_sad.py script using Colorama. If the verdict is sad then the output should be red, if the verdict is happy the output should be green.

Colorama should be added as a dependency to the requirements.txt file. After installing Colorama you can get the version using pip:

$ pip freeze | grep colorama

The output from this command can be appended to the requirements.txt like so:

$ pip freeze | grep colorama >> requirements.txt
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

1 participant