Skip to content

Colors do not work if tqdm imported. #678

@krishnachouhan

Description

@krishnachouhan

This code works...

_CRED = '\033[91m'
_CEND = '\033[0m'
print(_CRED + "Colors bre being set" + _CEND + '-all_set')

but after importing the same code does not work.

import tqdm
_CRED = '\033[91m'
_CEND = '\033[0m'

print(_CRED + "Colors bre being set" + _CEND + '-all_set')

Python:
(base) C:\Users\212574384>python --version
Python 3.7.0
OS: win 10

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions