![]() |
|
#3
|
|||
|
|||
Hi,
This is a somewhat newer feature and somehow didn't make it into the documentation. Here is a description of viz.input and another command viz.choose. viz.input(prompt, value='') prompt - A Message that will appear above the input box value - The initial value of the input box This method will return the text inside the box viz.choose(prompt,choices, selection=0) prompt - A message that will appear above the selection list choices - A list of strings that represent the possible choices selection - The index of the initial selected value in the list This method will return the index number of the selected option. Also if you want to just output a message you can do the following command: Code:
import win32ui win32ui.MessageBox("Some message","Title") |
|
|