Is their any way to change the size of the font for the output of print() function ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Is their any way to change the size of the font for the output of print() function ?

I want to increase the font size of the text that it's gonna be printed in python console ... Note : my code should be work on any system and on any python interpreter . Required output : print("hello world") # normal print("I love python") # big print("I am tiny that normal size") # tiny

7th Dec 2020, 3:56 PM
Ratnapal Shende
Ratnapal Shende - avatar
4 Réponses
+ 4
Python just prints it on console, how big/small they should be displayed depends on shell in which you are printing to.
7th Dec 2020, 4:10 PM
Arsenic
Arsenic - avatar
+ 3
《 Nicko12 》 you mean their is no way to change the size of font without GUI ? Arsenic Thank you it helps me a lot !!
7th Dec 2020, 4:17 PM
Ratnapal Shende
Ratnapal Shende - avatar
+ 2
I think there is a way with using modules such as Tkinter, Kivy, PyGame etc.
7th Dec 2020, 4:11 PM
noteve
noteve - avatar
+ 1
I saw this in stackoverflow, although this is not about font size, this is about COLORED TEXTS and BOLD TEXT which may be useful somehow. https://stackoverflow.com/questions/8924173/how-do-i-print-bold-text-in-JUMP_LINK__&&__python__&&__JUMP_LINK
7th Dec 2020, 4:23 PM
noteve
noteve - avatar