[Tutor] Reading from a GUI

Budgester budgester@budgester.com
Sun, 21 Jan 2001 23:45:58 -0000


Hi all,

I have posted to script to Rob,
http://www.lowerstandard.com/python/pythonsource.html
(Martin Stevens, TKinter thingy)


What I'd like to do now is read the text string that is retrieved from
the text box and find the line breaks/carriage returns.

Should I use readlines ?

This is eventually gonna be a html diary updater so what I want to be able
to
do is replace the line break from the text box with a <BR>.

Shouldn't be to difficult but I need to find the escape code for the line
break.

Any ideas would help

Budgester


mailto:budgester@budgester.com
http://www.budgester.com