Skip to Content
Perl To Python Migration
book

Perl To Python Migration

by Martin C. Brown
November 2001
Beginner
320 pages
5h 53m
English
Pearson Business
Content preview from Perl To Python Migration

BASIC OPERATIONS

The major difference between Perl- and Python-based Tk programming is how we interact with the widgets that we create. Both systems work by creating new widgets which return objects and it's through these objects that you set their properties and create additional widgets, containers, and other interface elements to build up the individual window.

We'll have a look at four different aspects of Tk programming in relation to Perl and Python. We'll start with the basics of creating widgets before moving on to look at how we set their properties and other values. Then we'll look at how to define widget callback before finally looking at the different widget geometry systems (Packer, Placer, and Grid).

Creating widgets

To actually ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Perl in a Nutshell

Perl in a Nutshell

Nathan Patwardhan, Ellen Siever, Stephen Spainhour
Perl by Example

Perl by Example

Ellie Quigley
Perl Hacks

Perl Hacks

Chromatic, Damian Conway, Curtis Ovid Poe, Curtis (Ovid) Poe

Publisher Resources

ISBN: 0201734885Purchase book