Changing Fonts in IDLE-0.5

Dan Parisien dan at
Wed Feb 14 06:41:11 CET 2001

Jeff Stephens wrote:
> Already did.  The only entries for font are in and
> EditorWindow.pyc.  The latter file can't be viewed in
> an editor.  I suspect it's some sort of compiled version of the .py
> file.
Yep. It's the byte-compiled python source (it's faster for python to load).

A mad-hack you could pull is changing line 152:

text['font'] = edconf.get('font-name'), edconf.get('font-size')


text['font'] = "courier", "12"

I hope it works :)


More information about the Python-list mailing list