Closed dnth closed 9 months ago
This PR adds a function to display fastdup ASCII art when user executes the .run method.
.run
I've added two ASCII art in ascii_art.py as a list of strings. The art that will be displayed is chosen randomly from the list.
ascii_art.py
ascii_arts = [ """ :++. ... ;&&$+. ;x: ;;; .$&+ X&x ;;; X$&&&$$; :$&&$+. ;$x .x&&&X: ;$&&&$$$: :;;;;:. ;;; :;;. .;;. :;; :;;;;;. +x&&Xxx: :$&&Xx++X&&$&$ .&&$+;+$&&; :x&&$xxx: .;;;;;:;;;;;;; :;;. .;;: :;;;;;;:;;;;;: .$&; :$&X +&&$ ;&$. ;XX X&x .;;; ;;;; :;;. .;;: :;;;. :;;: .$&; +&&. x&$ .$&&$+. X&x ;;; ;;; :;;. .;;: :;;. ;;; .$&; +&&. x&$ ;X&&&&$. X&x ;;; ;;; :;;. .;;: :;; ;;; .$&; :&&; :&&$ .:. x&& X&x :;;; :;;; .;;: :;;: :;;; .;;; .$&; +&&$; :X&&&$ ;&&+. .X&& X&&. :;;;: :;;;;; ;;;;. .;;;;: :;;;;:. .;;;; .$&; +&&&&&&X.+&$ .X&&&&&&+ X&&&&; :;;;;;;;.;;; .;;;;;;;:;;: :;; :;;;;;;;. :;; :;; :;; .:: """, """ ad88 88 d8" ,d 88 88 88 88 MM88MMM ,adPPYYba, ,adPPYba, MM88MMM ,adPPYb,88 88 88 8b,dPPYba, 88 "" `Y8 I8[ "" 88 a8" `Y88 88 88 88P' "8a 88 ,adPPPPP88 `"Y8ba, 88 8b 88 88 88 88 d8 88 88, ,88 aa ]8I 88, "8a, ,d88 "8a, ,a88 88b, ,a8" 88 `"8bbdP"Y8 `"YbbdP"' "Y888 `"8bbdP"Y8 `"YbbdP'Y8 88`YbbdP"' 88 88 """ ]
Here's how it looks like in a notebook
And in a terminal
Art generated using
merged manually to 1.41, thanks!!
This PR adds a function to display fastdup ASCII art when user executes the
.run
method.I've added two ASCII art in
ascii_art.py
as a list of strings. The art that will be displayed is chosen randomly from the list.Here's how it looks like in a notebook
And in a terminal
Art generated using