Python Overview =============== The OpenMV Cam runs MicroPython, the same language as desktop Python with a smaller standard library and a few extra modules for talking to hardware. Everything written for the camera -- from a two-line script that blinks the LED to a full machine-vision application -- is Python code. .. toctree:: :caption: Getting started :maxdepth: 1 getting-started/first-script.rst getting-started/variables.rst getting-started/math.rst .. toctree:: :caption: Working with text :maxdepth: 1 text/strings.rst text/formatting.rst text/text-vs-bytes.rst .. toctree:: :caption: Collections :maxdepth: 1 collections/lists.rst collections/tuples.rst collections/dictionaries.rst collections/sets.rst .. toctree:: :caption: Control flow :maxdepth: 1 control-flow/conditionals.rst control-flow/loops.rst control-flow/loop-control.rst .. toctree:: :caption: Functions :maxdepth: 1 functions/defining-functions.rst functions/arguments.rst functions/scope.rst functions/type-hints.rst .. toctree:: :caption: Modules :maxdepth: 1 modules/using-modules.rst modules/writing-modules.rst .. toctree:: :caption: Classes and objects :maxdepth: 1 classes/first-class.rst classes/methods-and-attributes.rst classes/inheritance.rst classes/decorators.rst classes/context-managers.rst .. toctree:: :caption: Errors and exceptions :maxdepth: 1 errors/handling-errors.rst errors/raising-errors.rst .. toctree:: :caption: Files and data :maxdepth: 1 files-and-data/reading-and-writing.rst files-and-data/json.rst files-and-data/struct-and-binary.rst .. toctree:: :caption: Iteration patterns :maxdepth: 1 iteration/comprehensions.rst iteration/iterators-and-generators.rst iteration/async-and-await.rst .. toctree:: :caption: Metaprogramming :maxdepth: 1 metaprogramming/introspection.rst metaprogramming/dynamic-code.rst .. toctree:: :caption: Practical MicroPython :maxdepth: 1 micropython/floats.rst micropython/memory-and-gc.rst micropython/debugging.rst .. toctree:: :caption: Wrap up :maxdepth: 1 wrap-up.rst