PythonCommandAmpersand = "&" PythonCommandLF = "\\n" PythonCommandPercent = "%" PythonCommandPound = "#" PythonCommandSingleQuote = "'x'" PythonCommandSymbolExp = "^" PythonCommandTab = "\\t" PythonCommandVerticalBar = "|" PythonCommand1J = "1j" PythonCommandAbs = "abs(x)" PythonCommandAcos = "acos(x)" PythonCommandAcosh = "acosh(x)" PythonCommandAppend = "list.append(x)" PythonCommandAppendWithoutArg = ".append(\x11)" PythonCommandArrow = "arrow(x,y,dx,dy)" PythonCommandAsin = "asin(x)" PythonCommandAsinh = "asinh(x)" PythonCommandAtan = "atan(x)" PythonCommandAtan2 = "atan2(y,x)" PythonCommandAtanh = "atanh(x)" PythonCommandAxis = "axis((xmin,xmax,ymin,ymax))" PythonCommandAxisWithoutArg = "axis(\x11)" PythonCommandBar = "bar(x,height)" PythonCommandBin = "bin(x)" PythonCommandCeil = "ceil(x)" PythonCommandChoice = "choice(list)" PythonCommandClear = "list.clear()" PythonCommandClearWithoutArg = ".clear()" PythonCommandCmathFunction = "cmath.function" PythonCommandCmathFunctionWithoutArg = "cmath.\x11" PythonCommandColor = "color(r,g,b)" PythonCommandColorBlack = "'black'" PythonCommandColorBlue = "'blue'" PythonCommandColorBrown = "'brown'" PythonCommandColorGray = "'gray'" PythonCommandColorGreen = "'green'" PythonCommandColorOrange = "'orange'" PythonCommandColorPink = "'pink'" PythonCommandColorPurple = "'purple'" PythonCommandColorRed = "'red'" PythonCommandColorWhite = "'white'" PythonCommandColorYellow = "'yellow'" PythonCommandComplex = "complex(a,b)" PythonCommandConstantPi = "pi" PythonCommandCopySign = "copysign(x,y)" PythonCommandCos = "cos(x)" PythonCommandCosComplex = "cos(z)" PythonCommandCosh = "cosh(x)" PythonCommandCount = "list.count(x)" PythonCommandCountWithoutArg = ".count(\x11)" PythonCommandDegrees = "degrees(x)" PythonCommandDivMod = "divmod(a,b)" PythonCommandDrawCircle = "draw_circle(x,y,r,color)" PythonCommandDrawLine = "draw_line(x1,y1,x2,y2,color)" PythonCommandDrawString = "draw_string(\"text\",x,y)" PythonCommandConstantE = "e" PythonCommandErf = "erf(x)" PythonCommandErfc = "erfc(x)" PythonCommandEval = "eval(\"expression\")" PythonCommandExp = "exp(x)" PythonCommandExpComplex = "exp(z)" PythonCommandExpm1 = "expm1(x)" PythonCommandFabs = "fabs(x)" PythonCommandFillCircle = "fill_circle(x,y,r,color)" PythonCommandFillPolygon = "fill_polygon([(x1,y1),...],color)" PythonCommandFillRect = "fill_rect(x,y,width,height,color)" PythonCommandFloat = "float(x)" PythonCommandFloor = "floor(x)" PythonCommandFmod = "fmod(a,b)" PythonCommandFrExp = "frexp(x)" PythonCommandGamma = "gamma(x)" PythonCommandGetPalette = "get_palette()" PythonCommandGetPixel = "get_pixel(x,y)" PythonCommandGetrandbits = "getrandbits(k)" PythonCommandGrid = "grid()" PythonCommandHex = "hex(x)" PythonCommandHist = "hist(x,bins)" PythonCommandImag = "z.imag" PythonCommandImagWithoutArg = ".imag" PythonCommandImportFromCmath = "from cmath import *" PythonCommandImportFromIon = "from ion import *" PythonCommandImportFromKandinsky = "from kandinsky import *" PythonCommandImportFromMath = "from math import *" PythonCommandImportFromMatplotlibPyplot = "from matplotlib.pyplot import *" PythonCommandImportFromRandom = "from random import *" PythonCommandImportFromTime = "from time import *" PythonCommandImportFromTurtle = "from turtle import *" PythonCommandImportCmath = "import cmath" PythonCommandImportIon = "import ion" PythonCommandImportKandinsky = "import kandinsky" PythonCommandImportMath = "import math" PythonCommandImportMatplotlibPyplot = "import matplotlib.pyplot" PythonCommandImportFromNumpy = "from ulab import numpy as np" PythonCommandImportFromScipy = "from ulab import scipy as spy" PythonCommandImportRandom = "import random" PythonCommandImportOs = "import os" PythonCommandImportFromOs = "from os import *" PythonCommandImportTime = "import time" PythonCommandImportTurtle = "import turtle" PythonCommandIndex = "list.index(x)" PythonCommandIndexWithoutArg = ".index(\x11)" PythonCommandInput = "input(\"text\")" PythonCommandInsert = "list.insert(i,x)" PythonCommandInsertWithoutArg = ".insert(\x11,)" PythonCommandInt = "int(x)" PythonCommandIonFunction = "ion.function" PythonCommandIonFunctionWithoutArg = "ion.\x11" PythonCommandIsFinite = "isfinite(x)" PythonCommandIsInfinite = "isinf(x)" PythonCommandIsNaN = "isnan(x)" PythonCommandKandinskyFunction = "kandinsky.function" PythonCommandKandinskyFunctionWithoutArg = "kandinsky.\x11" PythonCommandKeyLeft = "KEY_LEFT" PythonCommandKeyUp = "KEY_UP" PythonCommandKeyDown = "KEY_DOWN" PythonCommandKeyRight = "KEY_RIGHT" PythonCommandKeyOk = "KEY_OK" PythonCommandKeyBack = "KEY_BACK" PythonCommandKeyHome = "KEY_HOME" PythonCommandKeyOnOff = "KEY_ONOFF" PythonCommandKeyShift = "KEY_SHIFT" PythonCommandKeyAlpha = "KEY_ALPHA" PythonCommandKeyXnt = "KEY_XNT" PythonCommandKeyVar = "KEY_VAR" PythonCommandKeyToolbox = "KEY_TOOLBOX" PythonCommandKeyBackspace = "KEY_BACKSPACE" PythonCommandKeyExp = "KEY_EXP" PythonCommandKeyLn = "KEY_LN" PythonCommandKeyLog = "KEY_LOG" PythonCommandKeyImaginary = "KEY_IMAGINARY" PythonCommandKeyComma = "KEY_COMMA" PythonCommandKeyPower = "KEY_POWER" PythonCommandKeySine = "KEY_SINE" PythonCommandKeyCosine = "KEY_COSINE" PythonCommandKeyTangent = "KEY_TANGENT" PythonCommandKeyPi = "KEY_PI" PythonCommandKeySqrt = "KEY_SQRT" PythonCommandKeySquare = "KEY_SQUARE" PythonCommandKeySeven = "KEY_SEVEN" PythonCommandKeyEight = "KEY_EIGHT" PythonCommandKeyNine = "KEY_NINE" PythonCommandKeyLeftParenthesis = "KEY_LEFTPARENTHESIS" PythonCommandKeyRightParenthesis = "KEY_RIGHTPARENTHESIS" PythonCommandKeyFour = "KEY_FOUR" PythonCommandKeyFive = "KEY_FIVE" PythonCommandKeySix = "KEY_SIX" PythonCommandKeyMultiplication = "KEY_MULTIPLICATION" PythonCommandKeyDivision = "KEY_DIVISION" PythonCommandKeyOne = "KEY_ONE" PythonCommandKeyTwo = "KEY_TWO" PythonCommandKeyThree = "KEY_THREE" PythonCommandKeyPlus = "KEY_PLUS" PythonCommandKeyMinus = "KEY_MINUS" PythonCommandKeyZero = "KEY_ZERO" PythonCommandKeyDot = "KEY_DOT" PythonCommandKeyEe = "KEY_EE" PythonCommandKeyAns = "KEY_ANS" PythonCommandKeyExe = "KEY_EXE" PythonCommandIsKeyDown = "keydown(k)" PythonCommandBattery = "battery()" PythonCommandBatteryLevel = "battery_level()" PythonCommandBatteryIscharging = "battery_ischarging()" PythonCommandLdexp = "ldexp(x,i)" PythonCommandLength = "len(object)" PythonCommandLgamma = "lgamma(x)" PythonCommandLog = "log(x,a)" PythonCommandLog10 = "log10(x)" PythonCommandLog2 = "log2(x)" PythonCommandLogComplex = "log(z,a)" PythonCommandMathFunction = "math.function" PythonCommandMathFunctionWithoutArg = "math.\x11" PythonCommandMatplotlibPyplotFunction = "matplotlib.pyplot.function" PythonCommandMatplotlibPyplotFunctionWithoutArg = "matplotlib.pyplot.\x11" PythonCommandMax = "max(list)" PythonCommandMin = "min(list)" PythonCommandModf = "modf(x)" PythonCommandMonotonic = "monotonic()" PythonCommandNumpyArray = "np.array(a)" PythonCommandNumpyArange = "np.arange(i)" PythonCommandNumpyConcatenate = "np.concatenate(a,b)" PythonCommandNumpyDiag = "np.diag(a)" PythonCommandNumpyZeros = "np.zeros(s)" PythonCommandNumpyOnes = "np.ones(s)" PythonCommandNumpyEmpty = "np.empty(s)" PythonCommandNumpyEye = "np.eye(n, m)" PythonCommandNumpyFull = "np.full(s, v)" PythonCommandNumpyLinspace = "np.linspace(s, e)" PythonCommandNumpyLogspace = "np.logspace(s, e)" PythonCommandNumpyCopy = "ndarray.copy()" PythonCommandNumpyCopyWithoutArg = ".copy()" PythonCommandNumpyDtype = "ndarray.dtype" PythonCommandNumpyDtypeWithoutArg = ".dtype" PythonCommandNumpyFlat = "ndarray.flat" PythonCommandNumpyFlatWithoutArg = ".flat" PythonCommandNumpyFlatten = "ndarray.flatten()" PythonCommandNumpyFlattenWithoutArg = ".flatten()" PythonCommandNumpyShape = "ndarray.shape" PythonCommandNumpyShapeWithoutArg = ".shape" PythonCommandNumpyReshape = "ndarray.reshape(s)" PythonCommandNumpyReshapeWithoutArg = ".reshape(\x11)" PythonCommandNumpySize = "ndarray.size" PythonCommandNumpySizeWithoutArg = ".size" PythonCommandNumpyTranspose = "ndarray.transpose()" PythonCommandNumpyTransposeWithoutArg = ".transpose()" PythonCommandNumpySort = "ndarray.sort()" PythonCommandNumpySortWithoutArg = ".sort()" PythonCommandNumpySetPrintOptions = "np.set_printoptions()" PythonCommandNumpyGetPrintOptions = "np.get_printoptions()" PythonCommandNumpyNdinfo = "np.ndinfo(a)" PythonCommandNumpyAll = "np.all(a)" PythonCommandNumpyAny = "np.any(a)" PythonCommandNumpyArgmax = "np.argmax(a)" PythonCommandNumpyArgmin = "np.argmin(a)" PythonCommandNumpyArgsort = "np.argsort(a)" PythonCommandNumpyClip = "np.clip(a, min, max)" PythonCommandNumpyConvolve = "np.convolve(a, b)" PythonCommandNumpyDiff = "np.diff(a)" PythonCommandNumpyInterp = "np.interp(a)" PythonCommandNumpyDot = "np.dot(a, b)" PythonCommandNumpyCross = "np.cross(a, b)" PythonCommandNumpyEqual = "np.equal(a, b)" PythonCommandNumpyNot_equal = "np.not_equal(a, b)" PythonCommandNumpyFlip = "np.flip(a)" PythonCommandNumpyIsfinite = "np.isfinite(a)" PythonCommandNumpyIsinf = "np.isinf(a)" PythonCommandNumpyMean = "np.mean(a)" PythonCommandNumpyMin = "np.min(a)" PythonCommandNumpyMax = "np.max(a)" PythonCommandNumpyMedian = "np.median(a)" PythonCommandNumpyMinimum = "np.minimum(a, b)" PythonCommandNumpyMaximum = "np.maximum(a, b)" PythonCommandNumpyPolyfit = "np.polyfit(a, b, y)" PythonCommandNumpyPolyval = "np.polyval(p, x)" PythonCommandNumpyRoll = "np.roll(a, n)" PythonCommandNumpySortWithArguments = "np.sort(a)" PythonCommandNumpyStd = "np.std(a)" PythonCommandNumpySum = "np.sum(a)" PythonCommandNumpyTrace = "np.trace(a)" PythonCommandNumpyTrapz = "np.trapz(y)" PythonCommandNumpyWhere = "np.where(c, x, y)" PythonCommandNumpyVectorize = "np.vectorize(f)" PythonCommandNumpyAcos = "np.acos(a)" PythonCommandNumpyAcosh = "np.acosh(a)" PythonCommandNumpyArctan2 = "np.arctan2(a)" PythonCommandNumpyAround = "np.around(a)" PythonCommandNumpyAsin = "np.asin(a)" PythonCommandNumpyAsinh = "np.asinh(a)" PythonCommandNumpyAtan = "np.atan(a)" PythonCommandNumpyAtanh = "np.atanh(a)" PythonCommandNumpyCeil = "np.ceil(a)" PythonCommandNumpyCos = "np.cos(a)" PythonCommandNumpyCosh = "np.cosh(a)" PythonCommandNumpyDegrees = "np.degrees(a)" PythonCommandNumpyExp = "np.exp(a)" PythonCommandNumpyExpm1 = "np.expm1(a)" PythonCommandNumpyFloor = "np.floor(a)" PythonCommandNumpyLog = "np.log(a)" PythonCommandNumpyLog10 = "np.log10(a)" PythonCommandNumpyLog2 = "np.log2(a)" PythonCommandNumpyRadians = "np.radians(a)" PythonCommandNumpySin = "np.sin(a)" PythonCommandNumpySinh = "np.sinh(a)" PythonCommandNumpySqrt = "np.sqrt(a)" PythonCommandNumpyTan = "np.tan(a)" PythonCommandNumpyTanh = "np.tanh(a)" PythonCommandNumpyBool = "np.bool" PythonCommandNumpyFloat = "np.float" PythonCommandNumpyUint8 = "np.uint8" PythonCommandNumpyInt8 = "np.int8" PythonCommandNumpyUint16 = "np.uint16" PythonCommandNumpyInt16 = "np.int16" PythonCommandNumpyNan = "np.nan" PythonCommandNumpyInf = "np.inf" PythonCommandNumpyE = "np.e" PythonCommandNumpyPi = "np.pi" PythonCommandNumpyFft = "np.fft.fft(a)" PythonCommandNumpyIfft = "np.fft.ifft(a)" PythonCommandNumpyDet = "np.linalg.det(a)" PythonCommandNumpyEig = "np.linalg.eig(a)" PythonCommandNumpyCholesky = "np.linalg.cholesky(a)" PythonCommandNumpyInv = "np.linalg.inv(a)" PythonCommandNumpyNorm = "np.linalg.norm(a)" PythonCommandNumpyFunction = "np.function" PythonCommandNumpyFunctionWithoutArg = "np.\x11" PythonCommandNumpyFftFunction = "np.fft.function" PythonCommandNumpyFftFunctionWithoutArg = "np.fft.\x11" PythonCommandNumpyLinalgFunction = "np.linalg.function" PythonCommandNumpyLinalgFunctionWithoutArg = "np.linalg.\x11" PythonCommandOct = "oct(x)" PythonCommandPhase = "phase(z)" PythonCommandPlot = "plot(x,y,color)" PythonCommandPolar = "polar(z)" PythonCommandPop = "list.pop()" PythonCommandPopWithoutArg = ".pop()" PythonCommandPower = "pow(x,y)" PythonCommandPrint = "print(object)" PythonCommandRadians = "radians(x)" PythonCommandRandint = "randint(a,b)" PythonCommandRandom = "random()" PythonCommandRandomFunction = "random.function" PythonCommandRandomFunctionWithoutArg = "random.\x11" PythonCommandRandrange = "randrange(start,stop)" PythonCommandRangeStartStop = "range(start,stop)" PythonCommandRangeStop = "range(stop)" PythonCommandReal = "z.real" PythonCommandRealWithoutArg = ".real" PythonCommandRect = "rect(r,arg)" PythonCommandRemove = "list.remove(x)" PythonCommandRemoveWithoutArg = ".remove(\x11)" PythonCommandReverse = "list.reverse()" PythonCommandReverseWithoutArg = ".reverse()" PythonCommandRound = "round(x,n)" PythonCommandScatter = "scatter(x,y)" PythonCommandSeed = "seed(x)" PythonCommandScipyFunction = "spy.function" PythonCommandScipyFunctionWithoutArg = "spy.\x11" PythonCommandScipyLinalgFunction = "spy.linalg.function" PythonCommandScipyLinalgFunctionWithoutArg = "spy.linalg.\x11" PythonCommandScipyOptimizeFunction = "spy.optimize.function" PythonCommandScipyOptimizeFunctionWithoutArg = "spy.optimize.\x11" PythonCommandScipySignalFunction = "spy.signal.function" PythonCommandScipySignalFunctionWithoutArg = "spy.signal.\x11" PythonCommandScipySpecialFunction = "spy.special.function" PythonCommandScipySpecialFunctionWithoutArg = "spy.special.\x11" PythonCommandScipyLinalgChoSolve = "spy.linalg.cho_solve(a, b)" PythonCommandScipyLinalgSolveTriangular = "spy.linalg.solve_triangular(a, b)" PythonCommandScipyOptimizeBisect = "spy.optimize.bisect(f, a, b)" PythonCommandScipyOptimizeFmin = "spy.optimize.fmin(f, x0)" PythonCommandScipyOptimizeNewton = "spy.optimize.newton(f, x0)" PythonCommandScipySignalSosfilt = "spy.signal.sosfilt(sos, x)" PythonCommandScipySignalSpectrogram = "spy.signal.spectrogram(y)" PythonCommandScipySpecialErf = "spy.erf(a)" PythonCommandScipySpecialErfc = "spy.erfc(a)" PythonCommandScipySpecialGamma = "spy.gamma(a)" PythonCommandScipySpecialGammaln = "spy.gammaln(a)" PythonCommandSetPixel = "set_pixel(x,y,color)" PythonCommandShow = "show()" PythonCommandSin = "sin(x)" PythonCommandSinComplex = "sin(z)" PythonCommandSinh = "sinh(x)" PythonCommandSleep = "sleep(t)" PythonCommandSort = "list.sort()" PythonCommandSortWithoutArg = ".sort()" PythonCommandSorted = "sorted(list)" PythonCommandSqrt = "sqrt(x)" PythonCommandSqrtComplex = "sqrt(z)" PythonCommandSum = "sum(list)" PythonCommandTan = "tan(x)" PythonCommandTanh = "tanh(x)" PythonCommandText = "text(x,y,\"text\")" PythonCommandTimeFunction = "time.function" PythonCommandTimeFunctionWithoutArg = "time.\x11" PythonCommandTrunc = "trunc(x)" PythonCommandTurtleFunction = "turtle.function" PythonCommandTurtleFunctionWithoutArg = "turtle.\x11" PythonCommandUniform = "uniform(a,b)" PythonConstantE = "2.718281828459045" PythonConstantPi = "3.141592653589793" PythonOsCommandUname = "uname()" PythonOsCommandGetlogin = "getlogin()" PythonOsCommandRemove = "remove(filename)" PythonOsCommandRename = "rename(oldname, newname)" PythonOsCommandRemoveWithoutArg = "remove(\x11)" PythonOsCommandRenameWithoutArg = "rename(\x11,)" PythonOsCommandListdir = "listdir()" PythonTurtleCommandBackward = "backward(x)" PythonTurtleCommandCircle = "circle(r)" PythonTurtleCommandColor = "color('c')" PythonTurtleCommandColorMode = "colormode(x)" PythonTurtleCommandForward = "forward(x)" PythonTurtleCommandGoto = "goto(x,y)" PythonTurtleCommandHeading = "heading()" PythonTurtleCommandHideturtle = "hideturtle()" PythonTurtleCommandIsdown= "isdown()" PythonTurtleCommandLeft = "left(a)" PythonTurtleCommandPendown = "pendown()" PythonTurtleCommandPensize = "pensize(x)" PythonTurtleCommandPenup = "penup()" PythonTurtleCommandPosition = "position()" PythonTurtleCommandReset = "reset()" PythonTurtleCommandRight = "right(a)" PythonTurtleCommandSetheading = "setheading(a)" PythonTurtleCommandSetposition = "setposition(x,[y])" PythonTurtleCommandShowturtle = "showturtle()" PythonTurtleCommandSpeed = "speed(x)" PythonTurtleCommandWhite = "'white'" PythonTurtleCommandYellow = "'yellow'" PythonTimeModule = "time" PythonTimeCommandImportFrom = "from time import *" PythonTimeCommandSleep = "sleep()" PythonTimeCommandSleepDemo = "sleep(n)" PythonTimeCommandMonotonic = "monotonic()" PythonCommandFileOpen = "open(name, [mode])" PythonCommandFileOpenWithoutArg = "open(\x11)" PythonCommandFileSeek = "file.seek(offset, [whence])" PythonCommandFileSeekWithoutArg = ".seek(\x11)" PythonCommandFileTell = "file.tell()" PythonCommandFileTellWithoutArg = ".tell()" PythonCommandFileSeekable = "file.seekable()" PythonCommandFileSeekableWithoutArg = ".seekable()" PythonCommandFileClose = "file.close()" PythonCommandFileCloseWithoutArg = ".close()" PythonCommandFileClosed = "file.closed" PythonCommandFileClosedWithoutArg = ".closed" PythonCommandFileRead = "file.read([size])" PythonCommandFileReadWithoutArg = ".read(\x11)" PythonCommandFileWrite = "file.write(b)" PythonCommandFileWriteWithoutArg = ".write(\x11)" PythonCommandFileReadline = "file.readline([size])" PythonCommandFileReadlineWithoutArg = ".readline(\x11)" PythonCommandFileReadlines = "file.readlines([hint])" PythonCommandFileReadlinesWithoutArg = ".readlines(\x11)" PythonCommandFileTruncate = "file.truncate([size])" PythonCommandFileTruncateWithoutArg = ".truncate(\x11)" PythonCommandFileWritelines = "file.writelines(lines)" PythonCommandFileWritelinesWithoutArg = ".writelines(\x11)" PythonCommandFileName = "file.name" PythonCommandFileNameWithoutArg = ".name" PythonCommandFileMode = "file.mode" PythonCommandFileModeWithoutArg = ".mode" PythonCommandFileReadable = "file.readable()" PythonCommandFileReadableWithoutArg = ".readable()" PythonCommandFileWritable = "file.writable()" PythonCommandFileWritableWithoutArg = ".writable()" PythonTurtleCommandWrite = "write(\"text\")"