The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by rhettinger]

First rate book -- made excellent use of my time smilie

Wish the downloaded source code were in separate files.
The Chapter 25 page example would be nice to run with sample
JPGs and class/opinion databases.

My setup doesn't have the HTMLgen module. If you know
where to find it, I would appreciate a URL pointer.

Also, do you know how Tkinter links up with tcl/tk -- does
it spawn a process, send a pipe, use COM, connect through
a socket, or used ESP? I have some large AWK programs that
need a GUI and would like to emulate Tkinter's magic.

Thank's again for the great book,

Raymond
import-bot (20211) [Avatar] Offline
#2
Re: HTMLgen
[Originally posted by daryl harms]

> First rate book -- made excellent use of my time smilie
>
Thank you for this comment!

> Wish the downloaded source code were in separate files.
> The Chapter 25 page example would be nice to run with sample
> JPGs and class/opinion databases.
>
That's a good idea. The examples could unzip to individual files in a
directory structure based on the chapter.

> My setup doesn't have the HTMLgen module. If you know
> where to find it, I would appreciate a URL pointer.
>
You will find the pointer to it and Robin's updated documentation for the
latest release (2.2) on:
http://starship.python.net/lib.html

> Also, do you know how Tkinter links up with tcl/tk -- does
> it spawn a process, send a pipe, use COM, connect through
> a socket, or used ESP? I have some large AWK programs that
> need a GUI and would like to emulate Tkinter's magic.
>

Ken is the Tkinter fellow, but I'm pretty sure it is implemented as a
C-extension module with the TK library linked in as part of your Python
executable as a shared (or sometimes a static) library (DLL on Windows). John
Grayson could probably give you a more authorative answer if you asked this on
his forum:
http://www.manning.com/Grayson/forum.html

Also, in regards to what you want to do the Perl/TK implementation might give
you some good ideas as well. See:
http://w4.lns.cornell.edu/~pvhp/ptk/ptkFAQ.html

> Thank's again for the great book,
>

> Raymond