Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

Termcolor Error

DanielSchumache
DanielSchumache

I'm trying to make changeable colours with termcolor using a variable, but I get a key error. Please help.
Edit: It's fixed

4 years ago

Voters

Comments

TopNew
2
Geocube101
Geocube101

I believe python is counting the variable colour as the function colour which is why you get <function colour at 0x7fe3970bf950>. Try changing either the function name or the variable name.

4 years ago
1
DanielSchumache
DanielSchumache

@Geocube101
Thank you so much

4 years ago