Python question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Python question

I'd like to know: 1 How do you create animations in Python? 2 How do you color letters e.g "hello" in red? 3 How do you make a box or something using commands in Python? can you number your answers and can you supply a code for each answer

29th Dec 2016, 12:19 PM
Edwin Pratt
Edwin Pratt - avatar
2 Answers
+ 2
1 With a graphic library, you display the images of your animation one after the other 2 Either with a graphic library (and then use graphic display) or with special character (if in the consol), I don't know much about them but I know that they exist at least for linux 3 With a graphic library (the details will depends on the one you choose to use)
29th Dec 2016, 12:52 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
check out flask. it's a lightweight web server. you can generate HTML, CSS, etc using python. you can also try matplotlib or bokeh although I don't think those are what you're looking for.
30th Dec 2016, 5:13 AM
last
last - avatar