#any of the following lines can go in a method definitions of a Frame (indented under def) self.text_ctrl_1.Value="Hello" self.label_1.Label="Hello"