I bought a new macbook with snow leopard os.. I am having trouble resizing the fonts in idle which is a python IDE to an appropriate level as the default size is very small. I tried changing it with preferences, but it did not work..
How do we resize the font when working with idle(python ide) in macbook?
Collapse
X
-
decent font on IDLE on Mac OS X Snow Leopard
To change the font size in the IDLE application on the Mac Os X 10.6.3.
There is a file "config-main.def"
I have many copies of Python in my Mac so I have to search for the adequate one.
On my mac was situated at
/opt/local/Library/Frameworks/Python.framewor k/Versions/2.6/lib/python2.6/idlelib/config-main.def
It is always on a folder called "idlelib"
edit this file for example to :
[EditorWindow]
width= 80
height= 40
font= courier
font-size= 18
font-bold= 0
encoding= none
The previous size on my Mac was 10 (I changed to 18)
To edit the file you must copy it on some other part. Open and modify with an editor.
Then put instead of the original the modified file. It will ask for a permission to do that.
This was perfect in my case. -
Comment