octadist.scripting
- class octadist.src.scripting.ScriptingConsole(root)[source]
Start scripting interface for an interactive code.
User can access to class variable (dynamic variable).
Output box
Input box
- Parameters:
root (object) – Passing self object from another class to this class as root argument.
See also
settings
Program settings.
Examples
>>> import tkinter as tk >>> master = tk.Tk() >>> console = ScriptingConsole(master) >>> console.scripting_start()
- script_run_show(args)[source]
Show value of variable that user requests.
- Parameters:
args (str) – Arbitrary argument.
- script_run_type(args)[source]
Show data type of variable.
- Parameters:
args (str) – Arbitrary argument.
- script_run_set(args)[source]
Set new value to variable.
- Parameters:
args (str) – Arbitrary argument.