+ 3

How to input colors in python?

Hello i want to input colors in python, what import for input colors in python?

21st Feb 2019, 10:11 AM
Gavrie Sashenka
Gavrie Sashenka - avatar
4 odpowiedzi
+ 1
You gonna need tkinter for that. is a library that you need to import import tkinter, random, pymath, and so on Look these two links: https://docs.python.org/3/library/tkinter.html https://www.tutorialspoint.com/python/python_gui_programming.htm They can tell you more about how to use tkinter. Also, I think you can't use it on SoloLearn, you need to download python on a computer. You may also need to download an IDE, like Pycharm. If you don't want to pass over all that then, just download Anaconda and run Spyder. anaconda.org ^^^^^^^^^^^^^ Hope this helps!
22nd Feb 2019, 12:47 AM
wolF
wolF - avatar
+ 4
I'm afraid I'm clueless about Python. 😅 Maybe you should refer to someone else who knows python.
21st Feb 2019, 12:25 PM
Haris
Haris - avatar
+ 3
Check the console library, and if you are using Windows then also colorama library. They provide color and styling support for the terminal.
21st Feb 2019, 1:33 PM
Tibor Santa
Tibor Santa - avatar
0
I know this thread is closed but I forgot to mention that IF TKINTER IS HARD TO WORK AROUND, then try the Turtle library and pygame library. I'm not using Tkinter because it simply hard for me to work. So I use Pygame that have more stuff. Anyway that's all :3
2nd Apr 2019, 2:30 PM
wolF
wolF - avatar