Contribute Media
A thank you to everyone who makes this possible: Read More

Introduction to Traits

Description

Introduction to Traits

Presented by Corran Webster

The Traits project allows you to simply add validation, initialization, delegation, notification and a graphical user interface to Python object attributes. In this tutorial we will explore the Traits toolset and learn how to dramatically reduce the amount of boilerplate code you write, do rapid GUI application development, and understand the ideas which underly other parts of the Enthought Tool Suite (such as MayaVi and Chaco plotting toolkits).

Traits and the Enthought Tool Suite are open source projects licensed under a BSD-style license.

Intended Audience

Intermediate to advanced Python programmers

Class Outline

  • Introduction to ETS and Traits
  • Basic Traits + Trait types + Property Traits + Trait Validation
  • Traits UI + Basic Traits UI + Tour of the Trait editors + Advanced Trait editors
  • Notification in Traits + Static notification + Dynamic notification
  • Advanced Traits UI + Customizing Views, Groups and Items + Traits UI Handlers + Buttons, Menus and Toolbars + Drag and Drop
  • Q&A;

Requirements

Laptop recommended (any major OS is fine), with the following software installed:

All required software can be obtained by installing the free trial version of the Enthought Python Distribution v5 or later (http://www.enthought.com/products/epd.php).

Improve this page