Python Forum

Full Version: Changing font
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
From the LINUX command line, I can run a PERL script by typing the following:

$ perl hello_world.pl -font "Times 24"

This will make the PERL script display everything in Times font 24 point.

I tried the same thing in python with a python program.

$ python hello_world.py -font "Times 24"

But it had no effect. Didn't even give an error message.

Is there anything in python that allows running the program in a different font?
I tried it with the following Perl script and it didn't work
Output:
$str="My name is Gribouillis"; print "$str\n";