Home python drawing in console on python

drawing in console on python




I would like to know how to draw in the console on Python. Who did not understand what I explain. I think everyone watched an iron man. There, he ponked different buttons and hacked the screen. There were a console, and “Stark” appeared from symbols. Or, for example, you launch the metasploit type ECaploits, and there their emblem from characters. Maybe someone will tell the resources any in the internet there is, or an exemplary work algorithm. Thank you

Answer 1, Authority 100%

To show drawings in the console, you can use Asciimatics (Gallery ):

 Asciimatics Images.py Tty Session
It creates drawings from ASCII characters using the capabilities of the terminal to work with the colors, the position of the cursor, etc. On Linux you can show pictures using Framebuffer EG, FBI . Read more. Is it possible to bring something into the console without using stdio.h?

Answer 2, Authority 50%

from colorama import init, fore, back, style
init ()
  Print (Style.Briend + Fore.yellow)
  Print ("** ** ******** ** ** **")
  Print ("** ** ******** ** ** ** **")
  Print ("******** ** ** ** ** **")
  Print ("******** ******** ** ** ** **")
  Print ("** ** ** ** ** ** **")
  Print ("** ** ******** ******** ******** ** **")
  Print ("** ** ******** ******** ******** **")

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions