QuickTimeTcl
Cameron Laird
claird at lairds.com
Sun Aug 24 11:02:07 EDT 2003
In article <e96edb9f.0308201555.4d75f440 at posting.google.com>,
Bgc <sscherer at rocketmail.com> wrote:
>Hi All,
>
>I'm interested in producing educational applications with Python. Of
>special interest is the playback of video, something that has as of
>yet eluded me. I'm wondering what kind of access Python has to the
>Tcl scripting language, because of the following project:
>
>http://hem.fryistorg.com/matben/qt/
>http://sourceforge.net/projects/quicktimetcl/
>(I hope that URL is correct; google for QuicktimeTcl if not)
>
>I understand (actually, I'm just beginning to explore) Python's
>wrapper access to Tk, but I'm sort of confused about Python's access
>to the Tcl scripting language. Is there a similar wrapper for the Tcl
>language, and if so, can anyone suggest a reasonable process for
>creating a Python wrapper for QuicktimeTcl?
.
.
.
Python does all of Tcl.
Tk is a superset of Tcl. Tkinter gives access to all
of Tk. Conclusion: Tkinter gives access to all of
Tcl, in particular.
That doesn't mean you automatically get everything you
want. There are a couple of difficulties:
1. From a Pythonic viewpoint, programming
Tcl through the Tkinter.tk.eval()
mechanism isn't pretty. Developers
making heavy use of Tcl often *do*
write Python wrappers.
I know of no such wrapper for
QuicktimeTcl.
2. QuicktimeTcl isn't Tcl, strictly; it's
an *extension* of Tcl. Sometimes ex-
tensions work transparently with
Tkinter; sometimes ... not. I have no
idea what shape Tkinter-plus-Quicktime-
Tcl is in.
'Sounds like a fun project, though.
--
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