[Tutor] OT, Tcl & Python
Luis N
tegmine at gmail.com
Tue Jul 19 10:00:18 CEST 2005
On 7/16/05, Alan G <alan.gauld at freenet.co.uk> wrote:
>
> > I was wondering if someone knowledgeable of both Tcl and Python could
> suggest whether it would > be a good or a bad idea to write a Python/Tk
> application, with the motive to rewrite the application in > Tcl/Tk
>
> Oooh that's a tough one, it would depend on the program.
> Python is a very different language to Tcl and you would need
> to write the code in a Tcl style - don't use an OOP style for
> the GUI for example. In fact I'd avoid OOP all together since
> Tcl OOP is significantly different to Python OOP and not even
> part of standard Tcl.
...
You might like to take a quick run through the basics of my old
> Python tutor which used Tcl as a comparison to Python. Its far
> from comprehensive but would give a fairly good Python view
> of Tcl.
>
> http://www.freenetpages.co.uk/hp/alan.gauld/oldtutor/index.htm
>
> HTH,
>
> Alan G
> Author of the Learn to Program web tutor
> http://www.freenetpages.co.uk/hp/alan.gauld
Thanks, this is a really good point. I've been examining incr Tcl with
interest, but to learn Tcl/Tk by porting code from Python, its probably best
to avoid incr Tcl/incr Widgets at first.
Your tutor is really great, I've skimmed through it a bit, and will give it
a more thorough read shortly.
Thanks!
Luis N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050719/a5a854d8/attachment.htm
More information about the Tutor
mailing list