-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
code for little art project w/ ascii code
- Loading branch information
Sergio Moraes
committed
Oct 8, 2020
1 parent
9078aa6
commit 121fb94
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from art import * | ||
import time | ||
|
||
#differnt ascii art and characters | ||
art1 = art("devious smile") | ||
art2 = art("chess") | ||
art3 = art("error") | ||
art4 = art("happysquare") | ||
art5 = art("umadbro") | ||
|
||
print(art1,art2, art3, art4, art5) | ||
|
||
#save word to file | ||
tsave("SERGIO", font="isometric4", filename="signature3") | ||
#opens up saved file | ||
word2 = open("signature2.txt") | ||
#prints file on console | ||
print(word2.read()) | ||
|
||
#save word to file | ||
tsave("Team!", font="block", filename="team") | ||
#opens up saved file | ||
word = open("team.txt") | ||
#prints file on console | ||
print(word.read()) |