Port of MicroPython to the mbed platform. See micropython-repl for an interactive program.

Dependents:   micropython-repl

This a port of MicroPython to the mbed Classic platform.

This provides an interpreter running on the board's USB serial connection.

Getting Started

Import the micropython-repl program into your IDE workspace on developer.mbed.org. Compile and download to your board. Connect to the USB serial port in your usual manner. You should get a startup message similar to the following:

  MicroPython v1.7-155-gdddcdd8 on 2016-04-23; K64F with ARM
  Type "help()" for more information.
  >>>

Then you can start using micropython. For example:

  >>> from mbed import DigitalOut
  >>> from pins import LED1
  >>> led = DigitalOut(LED1)
  >>> led.write(1)

Requirements

You need approximately 100K of flash memory, so this will be no good for boards with smaller amounts of storage.

Caveats

This can be considered an alpha release of the port; things may not work; APIs may change in later releases. It is NOT an official part part the micropython project, so if anything doesn't work, blame me. If it does work, most of the credit is due to micropython.

  • Only a few of the mbed classes are available in micropython so far, and not all methods of those that are.
  • Only a few boards have their full range of pin names available; for others, only a few standard ones (USBTX, USBRX, LED1) are implemented.
  • The garbage collector is not yet implemented. The interpreter will gradually consume memory and then fail.
  • Exceptions from the mbed classes are not yet handled.
  • Asynchronous processing (e.g. events on inputs) is not supported.

Credits

  • Damien P. George and other contributors who created micropython.
  • Colin Hogben, author of this port.
Committer:
Colin Hogben
Date:
Sun Apr 17 23:08:33 2016 +0100
Revision:
3:d8dfbbbd0fc9
Parent:
1:873275b0210d
Child:
5:1d19b8110e11
modmbed: add Serial

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pythontech 0:5868e8752d44 1 // This file was automatically generated by makeqstrdata.py
pythontech 0:5868e8752d44 2
pythontech 0:5868e8752d44 3 QDEF(MP_QSTR_NULL, (const byte*)"\x00\x00\x00" "")
pythontech 0:5868e8752d44 4 QDEF(MP_QSTR_, (const byte*)"\x05\x15\x00" "")
pythontech 0:5868e8752d44 5 QDEF(MP_QSTR__star_, (const byte*)"\x8f\xb5\x01" "*")
pythontech 0:5868e8752d44 6 QDEF(MP_QSTR__, (const byte*)"\xfa\xb5\x01" "_")
Colin Hogben 1:873275b0210d 7 QDEF(MP_QSTR__percent__hash_o, (const byte*)"\x6c\x1a\x03" "%#o")
Colin Hogben 1:873275b0210d 8 QDEF(MP_QSTR__percent__hash_x, (const byte*)"\x7b\x1a\x03" "%#x")
Colin Hogben 1:873275b0210d 9 QDEF(MP_QSTR__brace_open__colon__hash_b_brace_close_, (const byte*)"\x58\x37\x05" "{:#b}")
Colin Hogben 1:873275b0210d 10 QDEF(MP_QSTR__0x0a_, (const byte*)"\xaf\xb5\x01" "\x0a")
Colin Hogben 1:873275b0210d 11 QDEF(MP_QSTR_maximum_space_recursion_space_depth_space_exceeded, (const byte*)"\x73\x1e\x20" "maximum recursion depth exceeded")
Colin Hogben 1:873275b0210d 12 QDEF(MP_QSTR__lt_module_gt_, (const byte*)"\xbd\x94\x08" "<module>")
Colin Hogben 1:873275b0210d 13 QDEF(MP_QSTR__lt_lambda_gt_, (const byte*)"\x80\x8c\x08" "<lambda>")
Colin Hogben 1:873275b0210d 14 QDEF(MP_QSTR__lt_listcomp_gt_, (const byte*)"\xd4\x15\x0a" "<listcomp>")
Colin Hogben 1:873275b0210d 15 QDEF(MP_QSTR__lt_dictcomp_gt_, (const byte*)"\xcc\x8d\x0a" "<dictcomp>")
Colin Hogben 1:873275b0210d 16 QDEF(MP_QSTR__lt_setcomp_gt_, (const byte*)"\x54\x51\x09" "<setcomp>")
Colin Hogben 1:873275b0210d 17 QDEF(MP_QSTR__lt_genexpr_gt_, (const byte*)"\x34\x6a\x09" "<genexpr>")
Colin Hogben 1:873275b0210d 18 QDEF(MP_QSTR__lt_string_gt_, (const byte*)"\x52\x53\x08" "<string>")
Colin Hogben 1:873275b0210d 19 QDEF(MP_QSTR__lt_stdin_gt_, (const byte*)"\xe3\x63\x07" "<stdin>")
Colin Hogben 1:873275b0210d 20 QDEF(MP_QSTR_utf_hyphen_8, (const byte*)"\xb7\x82\x05" "utf-8")
pythontech 0:5868e8752d44 21 QDEF(MP_QSTR___locals__, (const byte*)"\x7b\x6a\x0a" "__locals__")
pythontech 0:5868e8752d44 22 QDEF(MP_QSTR_BufferError, (const byte*)"\x1d\x59\x0b" "BufferError")
pythontech 0:5868e8752d44 23 QDEF(MP_QSTR_FileExistsError, (const byte*)"\x5b\x14\x0f" "FileExistsError")
pythontech 0:5868e8752d44 24 QDEF(MP_QSTR_FileNotFoundError, (const byte*)"\x78\x89\x11" "FileNotFoundError")
pythontech 0:5868e8752d44 25 QDEF(MP_QSTR_FloatingPointError, (const byte*)"\x01\x34\x12" "FloatingPointError")
pythontech 0:5868e8752d44 26 QDEF(MP_QSTR_UnboundLocalError, (const byte*)"\x99\x22\x11" "UnboundLocalError")
Colin Hogben 1:873275b0210d 27 QDEF(MP_QSTR_machine, (const byte*)"\x60\xab\x07" "machine")
Colin Hogben 1:873275b0210d 28 QDEF(MP_QSTR_reset, (const byte*)"\x10\xf4\x05" "reset")
Colin Hogben 1:873275b0210d 29 QDEF(MP_QSTR_mbed, (const byte*)"\x0b\xb5\x04" "mbed")
Colin Hogben 1:873275b0210d 30 QDEF(MP_QSTR_DigitalOut, (const byte*)"\x11\xcb\x0a" "DigitalOut")
Colin Hogben 1:873275b0210d 31 QDEF(MP_QSTR_write, (const byte*)"\x98\xa8\x05" "write")
Colin Hogben 3:d8dfbbbd0fc9 32 QDEF(MP_QSTR_Serial, (const byte*)"\xe5\xe5\x06" "Serial")
Colin Hogben 3:d8dfbbbd0fc9 33 QDEF(MP_QSTR_putc, (const byte*)"\x97\x7e\x04" "putc")
Colin Hogben 3:d8dfbbbd0fc9 34 QDEF(MP_QSTR_puts, (const byte*)"\x87\x7e\x04" "puts")
Colin Hogben 3:d8dfbbbd0fc9 35 QDEF(MP_QSTR_getc, (const byte*)"\xf0\xa1\x04" "getc")
Colin Hogben 1:873275b0210d 36 QDEF(MP_QSTR___name__, (const byte*)"\xe2\x38\x08" "__name__")
Colin Hogben 1:873275b0210d 37 QDEF(MP_QSTR_umachine, (const byte*)"\x95\x7f\x08" "umachine")
Colin Hogben 1:873275b0210d 38 QDEF(MP_QSTR_mem8, (const byte*)"\x18\xc8\x04" "mem8")
Colin Hogben 1:873275b0210d 39 QDEF(MP_QSTR_mem16, (const byte*)"\x07\xca\x05" "mem16")
Colin Hogben 1:873275b0210d 40 QDEF(MP_QSTR_mem32, (const byte*)"\x41\xca\x05" "mem32")
Colin Hogben 1:873275b0210d 41 QDEF(MP_QSTR_micropython, (const byte*)"\x0b\x7c\x0b" "micropython")
Colin Hogben 1:873275b0210d 42 QDEF(MP_QSTR_bytecode, (const byte*)"\x22\x7d\x08" "bytecode")
Colin Hogben 1:873275b0210d 43 QDEF(MP_QSTR_AssertionError, (const byte*)"\x97\x5a\x0e" "AssertionError")
Colin Hogben 1:873275b0210d 44 QDEF(MP_QSTR_range, (const byte*)"\x1a\x5e\x05" "range")
Colin Hogben 1:873275b0210d 45 QDEF(MP_QSTR___aiter__, (const byte*)"\x4e\x2b\x09" "__aiter__")
Colin Hogben 1:873275b0210d 46 QDEF(MP_QSTR___anext__, (const byte*)"\x83\xb4\x09" "__anext__")
Colin Hogben 1:873275b0210d 47 QDEF(MP_QSTR_StopAsyncIteration, (const byte*)"\xec\xf0\x12" "StopAsyncIteration")
Colin Hogben 1:873275b0210d 48 QDEF(MP_QSTR___aenter__, (const byte*)"\x4c\x84\x0a" "__aenter__")
Colin Hogben 1:873275b0210d 49 QDEF(MP_QSTR___aexit__, (const byte*)"\xc4\xcf\x09" "__aexit__")
Colin Hogben 1:873275b0210d 50 QDEF(MP_QSTR___repl_print__, (const byte*)"\x00\xbb\x0e" "__repl_print__")
Colin Hogben 1:873275b0210d 51 QDEF(MP_QSTR_super, (const byte*)"\xc4\xb2\x05" "super")
Colin Hogben 1:873275b0210d 52 QDEF(MP_QSTR___class__, (const byte*)"\x2b\xc5\x09" "__class__")
Colin Hogben 1:873275b0210d 53 QDEF(MP_QSTR___module__, (const byte*)"\xff\x30\x0a" "__module__")
Colin Hogben 1:873275b0210d 54 QDEF(MP_QSTR___qualname__, (const byte*)"\x6b\x00\x0c" "__qualname__")
Colin Hogben 1:873275b0210d 55 QDEF(MP_QSTR___main__, (const byte*)"\x8e\x13\x08" "__main__")
Colin Hogben 1:873275b0210d 56 QDEF(MP_QSTR_items, (const byte*)"\xe3\x53\x05" "items")
Colin Hogben 1:873275b0210d 57 QDEF(MP_QSTR_function, (const byte*)"\x27\x02\x08" "function")
Colin Hogben 1:873275b0210d 58 QDEF(MP_QSTR_closure, (const byte*)"\x74\xca\x07" "closure")
Colin Hogben 1:873275b0210d 59 QDEF(MP_QSTR_generator, (const byte*)"\x96\xc3\x09" "generator")
Colin Hogben 1:873275b0210d 60 QDEF(MP_QSTR___next__, (const byte*)"\x02\x73\x08" "__next__")
Colin Hogben 1:873275b0210d 61 QDEF(MP_QSTR___getitem__, (const byte*)"\x26\x39\x0b" "__getitem__")
Colin Hogben 1:873275b0210d 62 QDEF(MP_QSTR_send, (const byte*)"\xb9\x76\x04" "send")
Colin Hogben 1:873275b0210d 63 QDEF(MP_QSTR_close, (const byte*)"\x33\x67\x05" "close")
Colin Hogben 1:873275b0210d 64 QDEF(MP_QSTR_throw, (const byte*)"\xb3\x44\x05" "throw")
pythontech 0:5868e8752d44 65 QDEF(MP_QSTR_bool, (const byte*)"\xeb\x3c\x04" "bool")
Colin Hogben 1:873275b0210d 66 QDEF(MP_QSTR_bound_method, (const byte*)"\x97\xa2\x0c" "bound_method")
Colin Hogben 1:873275b0210d 67 QDEF(MP_QSTR_iterator, (const byte*)"\x47\xbe\x08" "iterator")
Colin Hogben 1:873275b0210d 68 QDEF(MP_QSTR_dict_view, (const byte*)"\x2d\xa9\x09" "dict_view")
pythontech 0:5868e8752d44 69 QDEF(MP_QSTR_clear, (const byte*)"\x7c\xa0\x05" "clear")
pythontech 0:5868e8752d44 70 QDEF(MP_QSTR_copy, (const byte*)"\xe0\xdb\x04" "copy")
pythontech 0:5868e8752d44 71 QDEF(MP_QSTR_fromkeys, (const byte*)"\x37\xbd\x08" "fromkeys")
pythontech 0:5868e8752d44 72 QDEF(MP_QSTR_get, (const byte*)"\x33\x3b\x03" "get")
pythontech 0:5868e8752d44 73 QDEF(MP_QSTR_keys, (const byte*)"\x01\x13\x04" "keys")
pythontech 0:5868e8752d44 74 QDEF(MP_QSTR_pop, (const byte*)"\x2a\x73\x03" "pop")
pythontech 0:5868e8752d44 75 QDEF(MP_QSTR_popitem, (const byte*)"\xbf\x2c\x07" "popitem")
pythontech 0:5868e8752d44 76 QDEF(MP_QSTR_setdefault, (const byte*)"\x6c\xa3\x0a" "setdefault")
pythontech 0:5868e8752d44 77 QDEF(MP_QSTR_update, (const byte*)"\xb4\x76\x06" "update")
pythontech 0:5868e8752d44 78 QDEF(MP_QSTR_values, (const byte*)"\x7d\xbe\x06" "values")
Colin Hogben 1:873275b0210d 79 QDEF(MP_QSTR___setitem__, (const byte*)"\x32\x3e\x0b" "__setitem__")
Colin Hogben 1:873275b0210d 80 QDEF(MP_QSTR___delitem__, (const byte*)"\xfd\x35\x0b" "__delitem__")
Colin Hogben 1:873275b0210d 81 QDEF(MP_QSTR_dict, (const byte*)"\x3f\xfc\x04" "dict")
Colin Hogben 1:873275b0210d 82 QDEF(MP_QSTR_args, (const byte*)"\xc2\xc6\x04" "args")
Colin Hogben 1:873275b0210d 83 QDEF(MP_QSTR_value, (const byte*)"\x4e\x34\x05" "value")
Colin Hogben 1:873275b0210d 84 QDEF(MP_QSTR___init__, (const byte*)"\x5f\xa5\x08" "__init__")
Colin Hogben 1:873275b0210d 85 QDEF(MP_QSTR_BaseException, (const byte*)"\x07\x92\x0d" "BaseException")
Colin Hogben 1:873275b0210d 86 QDEF(MP_QSTR_SystemExit, (const byte*)"\x20\xff\x0a" "SystemExit")
Colin Hogben 1:873275b0210d 87 QDEF(MP_QSTR_KeyboardInterrupt, (const byte*)"\xaf\xe2\x11" "KeyboardInterrupt")
Colin Hogben 1:873275b0210d 88 QDEF(MP_QSTR_GeneratorExit, (const byte*)"\x16\x62\x0d" "GeneratorExit")
Colin Hogben 1:873275b0210d 89 QDEF(MP_QSTR_Exception, (const byte*)"\xf2\x29\x09" "Exception")
Colin Hogben 1:873275b0210d 90 QDEF(MP_QSTR_StopIteration, (const byte*)"\xea\x1c\x0d" "StopIteration")
Colin Hogben 1:873275b0210d 91 QDEF(MP_QSTR_ArithmeticError, (const byte*)"\x2d\x8c\x0f" "ArithmeticError")
Colin Hogben 1:873275b0210d 92 QDEF(MP_QSTR_OverflowError, (const byte*)"\x81\xe1\x0d" "OverflowError")
Colin Hogben 1:873275b0210d 93 QDEF(MP_QSTR_ZeroDivisionError, (const byte*)"\xb6\x27\x11" "ZeroDivisionError")
Colin Hogben 1:873275b0210d 94 QDEF(MP_QSTR_AttributeError, (const byte*)"\x21\xde\x0e" "AttributeError")
Colin Hogben 1:873275b0210d 95 QDEF(MP_QSTR_EOFError, (const byte*)"\x91\xbf\x08" "EOFError")
Colin Hogben 1:873275b0210d 96 QDEF(MP_QSTR_ImportError, (const byte*)"\x20\x9c\x0b" "ImportError")
Colin Hogben 1:873275b0210d 97 QDEF(MP_QSTR_LookupError, (const byte*)"\xff\x69\x0b" "LookupError")
Colin Hogben 1:873275b0210d 98 QDEF(MP_QSTR_IndexError, (const byte*)"\x83\xad\x0a" "IndexError")
Colin Hogben 1:873275b0210d 99 QDEF(MP_QSTR_KeyError, (const byte*)"\xea\x00\x08" "KeyError")
Colin Hogben 1:873275b0210d 100 QDEF(MP_QSTR_MemoryError, (const byte*)"\xdc\x83\x0b" "MemoryError")
Colin Hogben 1:873275b0210d 101 QDEF(MP_QSTR_NameError, (const byte*)"\xba\x2d\x09" "NameError")
Colin Hogben 1:873275b0210d 102 QDEF(MP_QSTR_OSError, (const byte*)"\xa1\x65\x07" "OSError")
Colin Hogben 1:873275b0210d 103 QDEF(MP_QSTR_RuntimeError, (const byte*)"\x61\xf1\x0c" "RuntimeError")
Colin Hogben 1:873275b0210d 104 QDEF(MP_QSTR_NotImplementedError, (const byte*)"\xc6\x98\x13" "NotImplementedError")
Colin Hogben 1:873275b0210d 105 QDEF(MP_QSTR_SyntaxError, (const byte*)"\x94\x8f\x0b" "SyntaxError")
Colin Hogben 1:873275b0210d 106 QDEF(MP_QSTR_IndentationError, (const byte*)"\x5c\x20\x10" "IndentationError")
Colin Hogben 1:873275b0210d 107 QDEF(MP_QSTR_TypeError, (const byte*)"\x25\x96\x09" "TypeError")
Colin Hogben 1:873275b0210d 108 QDEF(MP_QSTR_ValueError, (const byte*)"\x96\x87\x0a" "ValueError")
Colin Hogben 1:873275b0210d 109 QDEF(MP_QSTR_from_bytes, (const byte*)"\x35\x74\x0a" "from_bytes")
Colin Hogben 1:873275b0210d 110 QDEF(MP_QSTR_to_bytes, (const byte*)"\xd8\x3e\x08" "to_bytes")
Colin Hogben 1:873275b0210d 111 QDEF(MP_QSTR_int, (const byte*)"\x16\x53\x03" "int")
Colin Hogben 1:873275b0210d 112 QDEF(MP_QSTR_key, (const byte*)"\x32\x6d\x03" "key")
Colin Hogben 1:873275b0210d 113 QDEF(MP_QSTR_reverse, (const byte*)"\x25\x2a\x07" "reverse")
pythontech 0:5868e8752d44 114 QDEF(MP_QSTR_append, (const byte*)"\x6b\x97\x06" "append")
pythontech 0:5868e8752d44 115 QDEF(MP_QSTR_count, (const byte*)"\xa6\x4d\x05" "count")
pythontech 0:5868e8752d44 116 QDEF(MP_QSTR_extend, (const byte*)"\x63\xe8\x06" "extend")
pythontech 0:5868e8752d44 117 QDEF(MP_QSTR_index, (const byte*)"\x7b\x28\x05" "index")
Colin Hogben 1:873275b0210d 118 QDEF(MP_QSTR_insert, (const byte*)"\x12\x54\x06" "insert")
pythontech 0:5868e8752d44 119 QDEF(MP_QSTR_remove, (const byte*)"\x63\x8a\x06" "remove")
pythontech 0:5868e8752d44 120 QDEF(MP_QSTR_sort, (const byte*)"\xbf\x9d\x04" "sort")
Colin Hogben 1:873275b0210d 121 QDEF(MP_QSTR_list, (const byte*)"\x27\x1d\x04" "list")
Colin Hogben 1:873275b0210d 122 QDEF(MP_QSTR_map, (const byte*)"\xb9\x43\x03" "map")
Colin Hogben 1:873275b0210d 123 QDEF(MP_QSTR_module, (const byte*)"\xbf\x99\x06" "module")
Colin Hogben 1:873275b0210d 124 QDEF(MP_QSTR_builtins, (const byte*)"\xf7\x31\x08" "builtins")
Colin Hogben 1:873275b0210d 125 QDEF(MP_QSTR_ustruct, (const byte*)"\x47\x08\x07" "ustruct")
Colin Hogben 1:873275b0210d 126 QDEF(MP_QSTR_sys, (const byte*)"\xbc\x8e\x03" "sys")
Colin Hogben 1:873275b0210d 127 QDEF(MP_QSTR_object, (const byte*)"\x90\x8d\x06" "object")
Colin Hogben 1:873275b0210d 128 QDEF(MP_QSTR_NoneType, (const byte*)"\x17\x68\x08" "NoneType")
Colin Hogben 1:873275b0210d 129 QDEF(MP_QSTR_start, (const byte*)"\x85\xef\x05" "start")
Colin Hogben 1:873275b0210d 130 QDEF(MP_QSTR_stop, (const byte*)"\x9d\x36\x04" "stop")
Colin Hogben 1:873275b0210d 131 QDEF(MP_QSTR_step, (const byte*)"\x57\x36\x04" "step")
Colin Hogben 1:873275b0210d 132 QDEF(MP_QSTR_Ellipsis, (const byte*)"\xf0\xe0\x08" "Ellipsis")
Colin Hogben 1:873275b0210d 133 QDEF(MP_QSTR_find, (const byte*)"\x00\x34\x04" "find")
Colin Hogben 1:873275b0210d 134 QDEF(MP_QSTR_rfind, (const byte*)"\xd2\x9c\x05" "rfind")
Colin Hogben 1:873275b0210d 135 QDEF(MP_QSTR_rindex, (const byte*)"\xe9\x2b\x06" "rindex")
pythontech 0:5868e8752d44 136 QDEF(MP_QSTR_join, (const byte*)"\xa7\x5c\x04" "join")
Colin Hogben 1:873275b0210d 137 QDEF(MP_QSTR_split, (const byte*)"\xb7\x33\x05" "split")
Colin Hogben 1:873275b0210d 138 QDEF(MP_QSTR_rsplit, (const byte*)"\xa5\x00\x06" "rsplit")
Colin Hogben 1:873275b0210d 139 QDEF(MP_QSTR_startswith, (const byte*)"\x74\xe8\x0a" "startswith")
Colin Hogben 1:873275b0210d 140 QDEF(MP_QSTR_endswith, (const byte*)"\x1b\xa3\x08" "endswith")
pythontech 0:5868e8752d44 141 QDEF(MP_QSTR_strip, (const byte*)"\x29\x1e\x05" "strip")
pythontech 0:5868e8752d44 142 QDEF(MP_QSTR_lstrip, (const byte*)"\xe5\xb9\x06" "lstrip")
pythontech 0:5868e8752d44 143 QDEF(MP_QSTR_rstrip, (const byte*)"\x3b\x95\x06" "rstrip")
pythontech 0:5868e8752d44 144 QDEF(MP_QSTR_format, (const byte*)"\x26\x33\x06" "format")
pythontech 0:5868e8752d44 145 QDEF(MP_QSTR_replace, (const byte*)"\x49\x25\x07" "replace")
pythontech 0:5868e8752d44 146 QDEF(MP_QSTR_partition, (const byte*)"\x87\xe5\x09" "partition")
pythontech 0:5868e8752d44 147 QDEF(MP_QSTR_rpartition, (const byte*)"\x15\xd0\x0a" "rpartition")
pythontech 0:5868e8752d44 148 QDEF(MP_QSTR_lower, (const byte*)"\xc6\xcb\x05" "lower")
pythontech 0:5868e8752d44 149 QDEF(MP_QSTR_upper, (const byte*)"\x27\x94\x05" "upper")
pythontech 0:5868e8752d44 150 QDEF(MP_QSTR_isspace, (const byte*)"\x5b\xf8\x07" "isspace")
pythontech 0:5868e8752d44 151 QDEF(MP_QSTR_isalpha, (const byte*)"\xeb\x37\x07" "isalpha")
pythontech 0:5868e8752d44 152 QDEF(MP_QSTR_isdigit, (const byte*)"\xa8\x9a\x07" "isdigit")
pythontech 0:5868e8752d44 153 QDEF(MP_QSTR_isupper, (const byte*)"\xdd\xa7\x07" "isupper")
pythontech 0:5868e8752d44 154 QDEF(MP_QSTR_islower, (const byte*)"\xfc\x80\x07" "islower")
Colin Hogben 1:873275b0210d 155 QDEF(MP_QSTR_str, (const byte*)"\x50\x8d\x03" "str")
Colin Hogben 1:873275b0210d 156 QDEF(MP_QSTR_bytes, (const byte*)"\x5c\xb2\x05" "bytes")
Colin Hogben 1:873275b0210d 157 QDEF(MP_QSTR_tuple, (const byte*)"\xfd\x41\x05" "tuple")
Colin Hogben 1:873275b0210d 158 QDEF(MP_QSTR___str__, (const byte*)"\xd0\xcd\x07" "__str__")
Colin Hogben 1:873275b0210d 159 QDEF(MP_QSTR___repr__, (const byte*)"\x10\x0b\x08" "__repr__")
Colin Hogben 1:873275b0210d 160 QDEF(MP_QSTR___new__, (const byte*)"\x79\x15\x07" "__new__")
Colin Hogben 1:873275b0210d 161 QDEF(MP_QSTR___bool__, (const byte*)"\x2b\x65\x08" "__bool__")
Colin Hogben 1:873275b0210d 162 QDEF(MP_QSTR___len__, (const byte*)"\xe2\xb0\x07" "__len__")
Colin Hogben 1:873275b0210d 163 QDEF(MP_QSTR___hash__, (const byte*)"\xf7\xc8\x08" "__hash__")
Colin Hogben 1:873275b0210d 164 QDEF(MP_QSTR___eq__, (const byte*)"\x71\x3e\x06" "__eq__")
Colin Hogben 1:873275b0210d 165 QDEF(MP_QSTR___add__, (const byte*)"\xc4\x82\x07" "__add__")
Colin Hogben 1:873275b0210d 166 QDEF(MP_QSTR___sub__, (const byte*)"\x21\x09\x07" "__sub__")
Colin Hogben 1:873275b0210d 167 QDEF(MP_QSTR___lt__, (const byte*)"\x5d\x68\x06" "__lt__")
Colin Hogben 1:873275b0210d 168 QDEF(MP_QSTR___gt__, (const byte*)"\xb6\x82\x06" "__gt__")
Colin Hogben 1:873275b0210d 169 QDEF(MP_QSTR___le__, (const byte*)"\xcc\x13\x06" "__le__")
Colin Hogben 1:873275b0210d 170 QDEF(MP_QSTR___ge__, (const byte*)"\xa7\x46\x06" "__ge__")
Colin Hogben 1:873275b0210d 171 QDEF(MP_QSTR___contains__, (const byte*)"\xc6\x5f\x0c" "__contains__")
Colin Hogben 1:873275b0210d 172 QDEF(MP_QSTR___getattr__, (const byte*)"\x40\xf8\x0b" "__getattr__")
Colin Hogben 1:873275b0210d 173 QDEF(MP_QSTR___call__, (const byte*)"\xa7\xf9\x08" "__call__")
Colin Hogben 1:873275b0210d 174 QDEF(MP_QSTR___iter__, (const byte*)"\xcf\x32\x08" "__iter__")
Colin Hogben 1:873275b0210d 175 QDEF(MP_QSTR_type, (const byte*)"\x9d\x7f\x04" "type")
Colin Hogben 1:873275b0210d 176 QDEF(MP_QSTR_staticmethod, (const byte*)"\x62\xaf\x0c" "staticmethod")
Colin Hogben 1:873275b0210d 177 QDEF(MP_QSTR_classmethod, (const byte*)"\xb4\x8c\x0b" "classmethod")
Colin Hogben 1:873275b0210d 178 QDEF(MP_QSTR_zip, (const byte*)"\xe6\xac\x03" "zip")
Colin Hogben 1:873275b0210d 179 QDEF(MP_QSTR___path__, (const byte*)"\xc8\x23\x08" "__path__")
Colin Hogben 1:873275b0210d 180 QDEF(MP_QSTR_sep, (const byte*)"\x23\x8f\x03" "sep")
Colin Hogben 1:873275b0210d 181 QDEF(MP_QSTR_end, (const byte*)"\x0a\x23\x03" "end")
Colin Hogben 1:873275b0210d 182 QDEF(MP_QSTR___build_class__, (const byte*)"\x42\x88\x0f" "__build_class__")
Colin Hogben 1:873275b0210d 183 QDEF(MP_QSTR___import__, (const byte*)"\x38\x3e\x0a" "__import__")
Colin Hogben 1:873275b0210d 184 QDEF(MP_QSTR_abs, (const byte*)"\x95\x32\x03" "abs")
Colin Hogben 1:873275b0210d 185 QDEF(MP_QSTR_all, (const byte*)"\x44\x33\x03" "all")
Colin Hogben 1:873275b0210d 186 QDEF(MP_QSTR_any, (const byte*)"\x13\x33\x03" "any")
Colin Hogben 1:873275b0210d 187 QDEF(MP_QSTR_bin, (const byte*)"\xe0\x48\x03" "bin")
Colin Hogben 1:873275b0210d 188 QDEF(MP_QSTR_callable, (const byte*)"\x0d\x70\x08" "callable")
Colin Hogben 1:873275b0210d 189 QDEF(MP_QSTR_chr, (const byte*)"\xdc\x4c\x03" "chr")
Colin Hogben 1:873275b0210d 190 QDEF(MP_QSTR_dir, (const byte*)"\xfa\x1e\x03" "dir")
Colin Hogben 1:873275b0210d 191 QDEF(MP_QSTR_divmod, (const byte*)"\xb8\x04\x06" "divmod")
Colin Hogben 1:873275b0210d 192 QDEF(MP_QSTR_eval, (const byte*)"\x9b\xa6\x04" "eval")
Colin Hogben 1:873275b0210d 193 QDEF(MP_QSTR_exec, (const byte*)"\x1e\xc0\x04" "exec")
Colin Hogben 1:873275b0210d 194 QDEF(MP_QSTR_getattr, (const byte*)"\xc0\x17\x07" "getattr")
Colin Hogben 1:873275b0210d 195 QDEF(MP_QSTR_setattr, (const byte*)"\xd4\xa8\x07" "setattr")
Colin Hogben 1:873275b0210d 196 QDEF(MP_QSTR_globals, (const byte*)"\x9d\x49\x07" "globals")
Colin Hogben 1:873275b0210d 197 QDEF(MP_QSTR_hasattr, (const byte*)"\x8c\xb0\x07" "hasattr")
Colin Hogben 1:873275b0210d 198 QDEF(MP_QSTR_hash, (const byte*)"\xb7\x70\x04" "hash")
Colin Hogben 1:873275b0210d 199 QDEF(MP_QSTR_hex, (const byte*)"\x70\x50\x03" "hex")
Colin Hogben 1:873275b0210d 200 QDEF(MP_QSTR_id, (const byte*)"\x28\x6f\x02" "id")
Colin Hogben 1:873275b0210d 201 QDEF(MP_QSTR_isinstance, (const byte*)"\xb6\xbe\x0a" "isinstance")
Colin Hogben 1:873275b0210d 202 QDEF(MP_QSTR_issubclass, (const byte*)"\xb5\x7f\x0a" "issubclass")
Colin Hogben 1:873275b0210d 203 QDEF(MP_QSTR_iter, (const byte*)"\x8f\x21\x04" "iter")
Colin Hogben 1:873275b0210d 204 QDEF(MP_QSTR_len, (const byte*)"\x62\x40\x03" "len")
Colin Hogben 1:873275b0210d 205 QDEF(MP_QSTR_locals, (const byte*)"\x3b\xa1\x06" "locals")
Colin Hogben 1:873275b0210d 206 QDEF(MP_QSTR_next, (const byte*)"\x42\x88\x04" "next")
Colin Hogben 1:873275b0210d 207 QDEF(MP_QSTR_oct, (const byte*)"\xfd\x5c\x03" "oct")
Colin Hogben 1:873275b0210d 208 QDEF(MP_QSTR_ord, (const byte*)"\x1c\x5e\x03" "ord")
Colin Hogben 1:873275b0210d 209 QDEF(MP_QSTR_pow, (const byte*)"\x2d\x73\x03" "pow")
Colin Hogben 1:873275b0210d 210 QDEF(MP_QSTR_print, (const byte*)"\x54\xc6\x05" "print")
Colin Hogben 1:873275b0210d 211 QDEF(MP_QSTR_repr, (const byte*)"\xd0\xf7\x04" "repr")
Colin Hogben 1:873275b0210d 212 QDEF(MP_QSTR_round, (const byte*)"\xe7\x25\x05" "round")
Colin Hogben 1:873275b0210d 213 QDEF(MP_QSTR_sorted, (const byte*)"\x5e\x15\x06" "sorted")
Colin Hogben 1:873275b0210d 214 QDEF(MP_QSTR_sum, (const byte*)"\x2e\x8d\x03" "sum")
Colin Hogben 1:873275b0210d 215 QDEF(MP_QSTR_calcsize, (const byte*)"\x4d\x38\x08" "calcsize")
pythontech 0:5868e8752d44 216 QDEF(MP_QSTR_pack, (const byte*)"\xbc\xd1\x04" "pack")
pythontech 0:5868e8752d44 217 QDEF(MP_QSTR_pack_into, (const byte*)"\x1f\xa9\x09" "pack_into")
pythontech 0:5868e8752d44 218 QDEF(MP_QSTR_unpack, (const byte*)"\x07\x3c\x06" "unpack")
pythontech 0:5868e8752d44 219 QDEF(MP_QSTR_unpack_from, (const byte*)"\x0e\x6d\x0b" "unpack_from")
Colin Hogben 1:873275b0210d 220 QDEF(MP_QSTR_path, (const byte*)"\x88\xce\x04" "path")
Colin Hogben 1:873275b0210d 221 QDEF(MP_QSTR_argv, (const byte*)"\xc7\xc6\x04" "argv")
Colin Hogben 1:873275b0210d 222 QDEF(MP_QSTR_version, (const byte*)"\xbf\xd3\x07" "version")
Colin Hogben 1:873275b0210d 223 QDEF(MP_QSTR_version_info, (const byte*)"\x6e\x0a\x0c" "version_info")
Colin Hogben 1:873275b0210d 224 QDEF(MP_QSTR_implementation, (const byte*)"\x17\x2d\x0e" "implementation")
Colin Hogben 1:873275b0210d 225 QDEF(MP_QSTR_byteorder, (const byte*)"\x61\x99\x09" "byteorder")
Colin Hogben 1:873275b0210d 226 QDEF(MP_QSTR_little, (const byte*)"\x89\x6a\x06" "little")
Colin Hogben 1:873275b0210d 227 QDEF(MP_QSTR_modules, (const byte*)"\xec\xd1\x07" "modules")
Colin Hogben 1:873275b0210d 228 QDEF(MP_QSTR_print_exception, (const byte*)"\x1c\x22\x0f" "print_exception")
Colin Hogben 1:873275b0210d 229 QDEF(MP_QSTR___exit__, (const byte*)"\x45\xf8\x08" "__exit__")
Colin Hogben 1:873275b0210d 230 QDEF(MP_QSTR___enter__, (const byte*)"\x6d\xba\x09" "__enter__")
pythontech 0:5868e8752d44 231 QDEF(MP_QSTR_mem, (const byte*)"\x20\x44\x03" "mem")