[Tkinter-discuss] Taking a Text() widget and saving it to a .txt file

Cameron Laird Cameron at phaseit.net
Fri Jul 4 07:14:59 CEST 2008


On Fri, Jul 04, 2008 at 12:42:51PM +1000, John McMonagle wrote:
			.
			.
			.
> As for keeping it in the same format as the textbox, that does not make
> any sense.  Plain text files don't really have formatting, apart from
> spaces, tabs or carriage returns.  These will be preserved by the get
> method.  However other formatting such as font type, font height,
> colour, etc will not.
			.
			.
			.
I wonder if Alexnb has in mind display-level word-wrap 
as part of the formatting he has in mind to preserve.
Alex?


More information about the Tkinter-discuss mailing list