Changing Fonts in IDLE-0.5

Greg Ewing greg at
Thu Feb 15 21:46:33 EST 2001

Jeff Stephens wrote:
>   File "./", line 142
>     text['font'] = ("times adobe", 14)
>     ^
> SyntaxError: invalid syntax

Looks like an indentation problem. Make sure you
indent the line exactly the same way as it
was previously.

You sound like you're new to Python, so you
need to be aware that indentation is syntactically
significant in Python.

Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:

More information about the Python-list mailing list