learning to program

Cameron Laird claird at lairds.com
Mon Sep 1 17:50:24 CEST 2003


In article <3f4e6a44.1219503072 at news.blueyonder.co.uk>,
Alan Gauld <alan.gauld at btinternet.com> wrote:
>On Thu, 28 Aug 2003 08:36:08 +0200, "U. N. Owen"
><electricity at uymail.com> wrote:
>> Not TCI but TCL... It's another script language,
>> but it's not installed with Python. Here it
>> was just an example, so you don't need it for
>> the moment. If you are interested, go to
>> www.tcl.tk.
>> 
>
>That's correct. 
>
>But to add a clarifying explanation for why I included Tcl in the
>first place, Python up to version 1.5 came with a full Tcl/Tk
>installation bundled to enable Tkinter. After 1.6 they only
>shipped the libraries so the tutorial suggestion to play with Tcl
>suddenly became invalid :-(
			.
			.
			.
But not *much* invalid.  While I don't recommend it to 
the original poster, as he's a beginner, it might amuse
those with a little Python background to play with
  import Tkinter
  Tcl_script = "some Tcl script here"
  Tkinter.tk.eval(Tcl_script)
-- 

Cameron Laird <Cameron at Lairds.com>
Business:  http://www.Phaseit.net
Personal:  http://phaseit.net/claird/home.html




More information about the Python-list mailing list