Re: Problems with Tkinter

2006-01-01 Thread Mario Wehbrink
Steffen Mutter schrieb in comp.lang.python:

> fenster.title = 'Demofenster'

Try:

fenster.title("Demofenster")

instead

Mario

-- 
Mario Wehbrink
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Code reformater?

2007-01-20 Thread Mario Wehbrink
Vincent Delporte schrieb in comp.lang.python:

Hi

>   When I copy/paste Python code from the web, every so often,
> the TABs are wrong, which means that the code won't work and I have to
> manually reformat the code.
>
> Is there a code reformater that can parse the code to make it right?

It may help to look at the settings of your editor. I think Vim (and
surely emacs) can help you with that.

(look at :help retab, paste, expandtab in (g)Vim)

Mario


-- 
Mario Wehbrink
-- 
http://mail.python.org/mailman/listinfo/python-list