ascii art to python code example

Example 1: text to ascii art python

# pip install art (https://pypi.org/project/art/)
import art

my_art = text2art("art") # Return ASCII text (default font)
print(my_art)
#               _   
#   __ _  _ __ | |_ 
#  / _` || '__|| __|
# | (_| || |   | |_ 
#  \__,_||_|    \__|

Example 2: python ascii art

_.gj8888888lkoz.,_                   
                d888888888888888888888b,                
               j88P""V8888888888888888888               
               888    8888888888888888888               
               888baed8888888888888888888               
               88888888888888888888888888               
                            8888888888888               
    ,ad8888888888888888888888888888888888  888888be,    
   d8888888888888888888888888888888888888  888888888b,  
  d88888888888888888888888888888888888888  8888888888b, 
 j888888888888888888888888888888888888888  88888888888p,
j888888888888888888888888888888888888888'  8888888888888
8888888888888888888888888888888888888^"   ,8888888888888
88888888888888^'                        .d88888888888888
8888888888888"   .a8888888888888888888888888888888888888
8888888888888  ,888888888888888888888888888888888888888^
^888888888888  888888888888888888888888888888888888888^ 
 V88888888888  88888888888888888888888888888888888888Y  
  V8888888888  8888888888888888888888888888888888888Y   
   `"^8888888  8888888888888888888888888888888888^"'    
               8888888888888                            
               88888888888888888888888888               
               8888888888888888888P""V888               
               8888888888888888888    888               
               8888888888888888888baed88V               
                `^888888888888888888888^                
                  `'"^^V888888888V^^'

Example 3: python ascii art

import PIL.Image
# https://donche.github.io/en/2019/01/05/ascii_art.html