tui examples for python