Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 1.01 KB

README.md

File metadata and controls

46 lines (38 loc) · 1.01 KB

╠P╣╠a╣╠t╣╠t╣╠e╣╠r╣╠n╣ ╠L╣╠e╣╠t╣╠t╣╠e╣╠r╣╠s╣

Geting started

This library has been tested with Python 3.6-3.10 and Pypy 3.

  • Installation using pip
    $ pip install patlet

Use PatLet

printing

from patlet import PatLet

# output the entered text to the console
PL = PatLet("PatLet")
PL.printer(char='*')

writing .txt file

from patlet import PatLet

# write the entered text to a .txt file
PL = PatLet("i am reading a book")
PL.writer(char="*", filename="book")

Use PrettyLetter

printing

from patlet import PrettyLetter

# output the entered text to the console
PL = PrettyLetter("PrettyLetter")

#the number of styles for the letters is 12
PL.printer(number=8)
『P』『R』『E』『T』『T』『Y』『L』『E』『T』『T』『E』『R』

writing .txt file

from patlet import PrettyLetter

PL = PrettyLetter("PrettyLetter")
PL.writer(number=8)