• VEXcode Robotics Logo VEX Robotics Logo
  • VEX API Home Button VEX API Home Button
  • VEX 123 logo in purple VEX 123 logo in white
  • VEX GO logo in lime green VEX GO logo in white
  • VEXcode AIM logo in blue VEXcode AIM logo in white
  • VEX IQ logo in blue VEX IQ logo in white
  • VEX EXP logo in red VEX EXP logo in white
  • VEX V5 logo in red VEX V5 logo in white
  • VEX CTE logo in green VEX CTE logo in white
  • VEX AIR logo in orange VEX AIR logo in white
  • VEXcode VR logo in gold VEXcode VR logo in white
Skip to main content
Ctrl+K

< Back to Platform Select

  • VEX IQ (2nd gen)
  • Logic
  • MicroPython Libraries
English
  • Spanish
  • 简体中文
  • VEXcode Robotics Logo

Section Navigation

  • Blocks
  • Python
    • Drivetrain
    • Motion
    • Sound
    • Vision
    • Screen
    • Controller
    • Sensing
    • Inertial
    • Console
    • SD Card
    • Logic
      • Control
      • Timer
      • Variables
      • Functions
      • Events
      • Math
      • Random
      • Operators
      • Comments
      • Custom Colors
      • String Formatting
      • Threads
      • MicroPython Libraries
  • C++

Platform Navigation

  • VEX 123 logo in purple VEX 123 logo in white
  • VEX GO logo in lime green VEX GO logo in white
  • VEXcode AIM logo in blue VEXcode AIM logo in white
  • VEX IQ logo in blue VEX IQ logo in white
  • VEX EXP logo in red VEX EXP logo in white
  • VEX V5 logo in red VEX V5 logo in white
  • VEX CTE logo in green VEX CTE logo in white
  • VEX AIR logo in orange VEX AIR logo in white
  • VEXcode VR logo in gold VEXcode VR logo in white

MicroPython Libraries#

  • Core MicroPython (Built-in) Modules

VEX IQ (2nd gen) runs MicroPython 1.13, which is based on Python 3.4.

Below is a list of commonly available built-in libraries in MicroPython 1.13.

Core MicroPython (Built-in) Modules#

  • cmath

  • gc

  • math

  • sys

  • _thread

  • uarray

  • uasyncio

  • ubinascii

  • ucollections

  • uerrno

  • uhashlib

  • uheapq

  • uio

  • ujson

  • uos

  • ure

  • uselect

  • usocket

  • ussl

  • ustruct

  • utime

  • uzlib

  • btree

  • framebuf

  • machine

  • micropython

  • network

  • ubluetooth

  • ucryptolib

  • uctypes

previous

Threads

next

C++

On this page
  • Core MicroPython (Built-in) Modules
Innovation First, International

VEX and VEX Robotics are trademarks or service marks of Innovation First, Inc. Copyright ©2025. All Rights Reserved. VEX Robotics, Inc. is a subsidiary of Innovation First International, Inc. All other product names / marks of others are the property of their respective owners. Patents and / or Patents Pending - innovationfirst.com/patents
Site Privacy Policy / Site Terms of Use / Cookie Policy / Software Privacy Policy

Visit the VEX Robotics Facebook Page Visit the VEX Robotics Twitter Page Visit the VEX Robotics Instagram Page Visit the VEX Robotics YouTube Page
VEX API Feedback Form

We value your feedback! Use this form to share suggestions, compliments, or report errors with the VEX API. Your input helps us enhance the VEX API documentation.

If you are experiencing technical issues or require customer support, please visit support.vex.com.

  • Send Happy Feedback
  • Send Sad Feedback

Note: the current URL will be shared with your message

By including your email address, you agree that VEX may send you email emails if we have questions about your feedback.
Privacy Policy >
Please provide your feedback. Feedback submitted successfully!
Choose Which VEX IQ Generation to View

VEX IQ (1st gen)

VEX IQ (2nd gen)