Saturday, 10 September 2022

Day 99 : Word Art From an Image Using Python

 


#reading an Image

from PIL import Image

Image.open("wolf.png")

import pywhatkit

pywhatkit.image_to_ascii_art('wolf.png','MyArt')

#reading text file

read_file= open("MyArt.txt","r") 

print(read_file.read())  #clcoding.com

..::.:::.:::.:::.::..::.:::.:::.:::.::..::.:::.:::.:::.::..::..::.:::.:::.:::.::
::.:::.:::.:::.::.:::.:::.:::.:::.:::.::::::.:::.:::.::..::..::.:::.:::.:::.:::.
.:::.:::.:::.:::$#S#*::.:::.:::.:::.::::::.:::.:::.::.:$SS@*:.:::.:::.:::.:::.::
::.:::.:::.::.!#**#S*@:...:::.:::.:::.::.:::.:::.::.:*#**#**$::.:::.:::.:::.:::.
.:::.:::.:::.:#**$*%S*S&%!:..::.::..::.:::..::..:.:%#**S@*$**$.::.:::.:::.:::.::
::.:::.:::.::$**@***&##***S@*..:..!::::#@.:!..:!$&**S##&%**&**!.:::.:::.:::.:::.
::::.:::.::..#**%***%##&&#S**#**$@SSSS***#S#*%S***#&&#&****%**%::.:::.:::.:::.::
::::::.::!@&&**S***%%*%@##&&#******S##SS$#*****#@&#&@%*%%**%**%..::.:::.:::.:::.
::::.:::.:*****#**%@*&%**$##&@S*&#%*******&S*&@&S#$**%#*&%*%S*#@@*:::.::::::::::
::::::::::$***#$**$S***$***@*#@#@*@%***%@*$&@$#*@***@***S$**$#***$:.::::::::::::
:::::::::.*S***&%*%&****%***$*@#*S&@***%&S*S@@S$***$****#***&****$::::::::::::::
:::::::::.%***@%**$&**SS@****@%@$%*******$$&$@&****&****#$**%S***#:.::::::::::::
::::::::::%#**@***@*##$*%**************************%*$&#*&***S***#::::::::::::::
:::::::::!&****@***%************************************%%**@****#*:::::::::::::
::::::::::&***&$%$$*******%*************************%%******$#****%!.:::::::::::
::::::::*@S***##&@%****%@@&&@%*******************%$@@@@@$****%$#****@:..::::::::
:::::::::$****S@*******%*%%$@&@$***************%@@$%%***%*******@S***#$!::::::::
::::::::@****S$***************%$$%************$$%****************@*****@!:::::::
::::::!%S***S@%***************************************************&****#$!::::::
:::::.!@**S@*******************************************************%#**S$:.:::::
::::!$S***#%*************%%$#@*********%*********%#@%%%*************$#***S@!::::
:::.%S****#%**********%@&@@&**@**%*****@%@***%%*%S*@@@@@$%**********%#*****$::::
:::*&S***S&%**********%$&S*S&#*&*$#%**%%%%**@#%$*S&&*#$$$%***********@*****#%!::
::!%****S&$$%%***%$$$%%***@SSS**S$$#%*$@@**@@*@**##S#$***%$@@@$***%%$$@S***S%!::
::..%&###****&*%@@$%***%$@@&&@$$&S#$$*#$&%$%%#*&%*%$@@@@$%**%$@&$*&*****S&&%.:::
::::...:$S*#%**%%****%%$$@@$$$****$@$#&$$@%%@$%***%$@@@$$$%*****%**@S**#!...::::
:::::!$S***#&@**********************%%%%%*%%**********************$&#****@!.::::
:::!$S******#%******$##@@@$$$%*****%$@@@@@@@$%****%$$$$@@##$******%#******S@!.::
::::!!%#***S#SS$****%$&@%%$$%@@****%$@@@@@@@$%***@@%$$%*@&$%****%#S#****#%!!::::
::::.!$$$$&***#*****$@$@$%%@&$@****%$@@@@@@@$%**%@$&$%%@@@@$*****@****@$$$!:::::
::::::..:%S****#&$***$@@$%**$*#****%$@@@@@@@$%***&*%**%$@@$***%%S***&$!..:::::::
.:::.:::*$**$&***&***%%%%***#*@****%%$$$$$$%%%***$S@***%%%%***@***SS&:.::.:::.::
::.:::.::...!&***#@%*******#*$*****@########$****%$S@*******%$&***$::::.:::.:::.
.:::.:::.::%##@#***&%$%****S*&$***$****SS****%**%$#*&*****%*$****$!::.:::.:::.::
::.:::.::::!:...******%%***$*S#$***#********#**%@#**%*****#S#**S%!..:::.:::.:::.
.:::.:::.::..::.!#@S**S@**%%S#*#%***@#&$@##@***%&*S#%***%#S**@&#*.:::.:::.:::.::
::.:::.:::.:::.::.:SS**&@#***&&*&&@$$$$@@$$$$@&&S&#**S&$$*****..:::.:::.:::.:::.
.:::.:::.:::.:::.:!*:$***S&%%*$S%:&%S#****S*$#!*#$*#*@S***S!*!.::.:::.:::.:::.::
::.:::.:::.:::.:::.:.%*&*:.:.&S$**$#********#&!S$S**..:%#*#..::.:::.:::.:::.:::.
.:::.:::.:::.:::.:::.!*..::..!*&&*@**********&S&&*@.::..:%*::.:::.:::.:::.:::.::
::.:::.:::.:::.:::.::..::.:::.**@#*#@S&*#S#$&*S@*#::.:::.::::::.:::.:::.:::.:::.
.:::.:::.:::.:::.::::::.:::.::.%*@#$!*!$%$*%$&&*#:.:::.:::.::.:::.:::.:::.:::.::
::.:::.:::.:::.:::.::.:::.:::..!**&@@@@@&@@@@#**!.::.:::.::::::.:::.:::.:::.:::.
.:::.:::.:::.:::.::::::.:::.::::&**S&$$%*%%&&#*@::.:::.:::.::.:::.:::.:::.:::.::
::.:::.:::.:::.::::::::::.:::.:::$#*****@S****@:.:::.:::.::::::.:::.:::.:::.:::.
.:::.:::.:::.:::.::::::.:::.:::.::.*###***#&@$.:::.:::.::::::::::.:::.:::.:::.::
::::::.:::.:::.::::::::::.:::.:::.::::!$!$!...::.:::.::::::::::.:::.:::.:::.:::.
::::::::.::::::::::::::::::::::.::::::..:..:::::::.:::.::::::::::.:::.::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


0 Comments:

Post a Comment

Codecademy Code Foundations

Popular Posts

Categories

Android (23) AngularJS (1) Assembly Language (2) Books (10) C (75) C# (12) C++ (81) Course (1) Data Strucures (4) Downloads (1) Engineering (13) flutter (1) FPL (17) Hadoop (1) HTML&CSS (40) IS (25) Java (89) Leet Code (4) Pandas (1) PHP (20) Projects (19) Python (423) R (69) Selenium Webdriver (2) Software (14) SQL (27)