Python script examples adapted for PySide.