17 lines
286 B
Python
Executable File
17 lines
286 B
Python
Executable File
print args
|
|
if get_exec_pars().source == CommandSource.ui:
|
|
msg = None
|
|
start = 0
|
|
end = 10.0
|
|
steps = 10
|
|
else:
|
|
msg = args[0]
|
|
start = float(args[1])
|
|
end = float(args[2])
|
|
steps = int(args[3])
|
|
|
|
|
|
print msg
|
|
r = lscan (out, sin, start, end, steps, 0.2)
|
|
|