Python / Pyfiglet Module

Captainyarimca

Yeni üye
15 Kas 2020
23
2
kocaeli
GyUig8.gif


Hello guys, I will talk about the pyfiglet module as much as I can in today's content.

Subject headings:
What is the Pyfiglet module?
Why do we use the Pyfiglet module?
Downloading the Pyfiglet module
Example Uses


bGn47Z.png


What is the Pyfiglet module?

The Pyfiglet module allows you to write your text using unusual fonts.

bGn47Z.png


Why do we use the Pyfiglet module?

ASCII text can be used to display many stylish text using the module pyfiglet. After installing this module, we can use it to check the font that can be used to display the result. In short, if you want your texts to look more stylish, you can use this module.

bGn47Z.png


Let's download the module now ...

Kod:
 pip install pyfiglet

Let's import our module into our project

Kod:
import pyfiglet

bGn47Z.png


Example Uses:

Kod:
import pyfiglet 
a= pyfiglet.figlet_format("Selam")         
print(a)

h65LqU.png


EEnZhF.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("Selam Merhaba", font = "slant"  )   
print(a)

RzKjLD.png


Nd1Evt.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("S E L A M ", font = "3-d" )      
print(a)

XLlT2t.png


2pf2v0.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("S E L A M ", font = "3x5" ) 
print(a)

lzvu6a.png


giJGMZ.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("S E L A M ", font = "5lineoblique" ) 
print(a)

XzPdCL.png


SgXs0R.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("M E R H A B A ", font = "alphabet" ) 
print(a)

ue0B9k.png


pKgVon.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("THT", font = "banner3-D" ) 
print(a)

PELURA.png


1onOk7.png


bGn47Z.png


Kod:
import pyfiglet 
a = pyfiglet.figlet_format("THT", font = "doh" ) 
print(a)

giP3US.png


2ZiDxa.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("SLM", font = "isometric1" ) 
print(a)

zEXpnP.png


knObqK.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("THT", font = "letters" ) 
print(a)

PEuha9.png


0u4wCc.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("T H T ", font = "alligator" ) 
print(a)

ltUw9Q.png


ot8LjS.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("Deneme", font = "dotmatrix" ) 
print(a)

CzPzLR.png


9NUlkj.png


bGn47Z.png


Kod:
import pyfiglet 
a = pyfiglet.figlet_format("Turk Hack Team", font = "bubble" ) 
print(a)

B8wMAX.png


3oU3fG.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("Turk Hack Team", font = "bulbhead" ) 
print(a)

cFbnIq.png


du2CaD.png


bGn47Z.png


Kod:
import pyfiglet 
a= pyfiglet.figlet_format("Turk Hack Team", font = "digital" ) 
print(a)

QFUYK2.png


KCNPVV.png


source: https://www.turkhackteam.org/python/1942430-python-pyfiglet-modulu.html
çevirmen/translator: Captainyarimca
 
Moderatör tarafında düzenlendi:
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.