Facebook
From MKH, 9 Months ago, written in Plain Text.
This paste is a reply to Re: Untitled from MKH - view diff
Embed
Download Paste or View Raw
Hits: 397
  1. import pyperclip
  2. from art import *
  3.  
  4. # Create ASCII art for the letter "P" in "PES"
  5. text_art = text2art("P", "block")
  6. text_art += "n" + text2art("E", "block") + " " + text2art("S", "block")
  7.  
  8. # Copy the ASCII art to the clipboard
  9. pyperclip.copy(text_art)
  10.  
  11. # Inform the user that the ASCII art is copied to the clipboard
  12. print("ASCII art copied to clipboard. You can now paste it on a website like Pastebin.")
  13.