A fun Python project that prints text as large ASCII art in the terminal using # and space characters — inspired by Tony Stark's iconic "Welcome, Mr. Stark" display.
# # ####### # ##### ####### # # ####### # # ###### ##### ####### # ###### # #
# # # # # # # # # ## ## # ## ## # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # ##### # # # # # # # ##### # # # ###### ##### # # # ###### ###
# # # # # # # # # # # # # # # # # ####### # # # #
# # # # # # # # # # # # # # # # ### # # # # # # # #
## ## ####### ####### ##### ####### # # ####### # # # #### ##### # # # # # # #
| File | Description |
|---|---|
WELCOME_MR.STARK.py |
Prints "WELCOME MR. STARK" in large # art — the main showcase |
EveryLetterIncluded.py |
A full A–Z letter dictionary — print any word using # characters |
ThearyBehindIt.py |
Explains the theory behind the grid — how cells and coordinates work |
testgit.py |
A simple Hello World test file used during Git setup |
Each letter is stored as a 2D grid (list of lists) where:
#= a filled cell (part of the letter)(space) = an empty cell (background)
When printed row by row, these grids form large block letters in the terminal.
'A': [
[" ", "#", "#", "#", "#", "#", " "],
["#", " ", " ", " ", " ", " ", "#"],
["#", " ", " ", " ", " ", " ", "#"],
["#", "#", "#", "#", "#", "#", "#"],
["#", " ", " ", " ", " ", " ", "#"],
["#", " ", " ", " ", " ", " ", "#"],
["#", " ", " ", " ", " ", " ", "#"],
]Printed output:
#####
# #
# #
#######
# #
# #
# #
The grid is printed by looping row by row (y), then column by column (x):
for y in range(height):
for x in range(width):
print(cell[x][y], end='')
print()This reads each row left-to-right and moves to the next line after each row — building the letter shape line by line.
Make sure you have Python 3 installed.
Print "WELCOME MR. STARK":
python WELCOME_MR.STARK.pyPrint any word using the full alphabet:
python EveryLetterIncluded.pyTo change the word, edit the
Sentencelist inside the file:Sentence = ['H', 'E', 'L', 'L', 'O']
See the grid coordinate theory:
python ThearyBehindIt.pyWant to print your own word? Open EveryLetterIncluded.py and change this line:
Sentence = ['W', 'E', 'L', 'C', 'O', 'M', 'E']All 26 letters (A–Z) are already defined in letter_dict, so you can spell out anything!
- How 2D lists (grids) work in Python
- How nested
forloops traverse a grid row by row - How x/y coordinate systems map to array indices
- A creative way to render text as pixel art purely in the terminal
- Python 3.x
- No external libraries — pure Python!
Mayura Jayasinghe — github.com/mayura0001