Using the Code Viewer for Python in VEXcode IQ

Using the Code Viewer in VEXcode IQ is easy and helpful.


How to Open the Code Viewer

VEXcode IQ Icon representing the VEX IQ Robotics platform, used for educational resources, programming tutorials, and project ideas in robotics for beginners and educators.

Launch VEXcode IQ.

Screenshot of the VEX IQ Blocks Interface, showcasing various programming blocks used for coding VEX IQ robots, relevant to Python tutorials for educators and students in the VEX IQ Robotics platform.

The platform defaults to the Blocks interface.

Icon representing the code viewer for VEX IQ Robotics platform, used in Python tutorials to assist educators and students in programming and building robots.

Select the Code Viewer icon to open the Code Viewer window.

Screenshot of the VEXcode IQ Python code viewer, displaying programming blocks and code snippets for VEX IQ robotics projects, illustrating the interface for users learning to code with Python in the context of VEX IQ tutorials.

The Code Viewer window will open. Select the "Python" button at the bottom of the Code Viewer window to display the Python version of the Blocks project.

Screenshot of the VEXcode IQ interface showing the 'Hide Code Viewer' option, used in Python tutorials for VEX IQ Robotics, designed to assist educators and students in programming and understanding robotics concepts.

Hide the Code Viewer window when finished by selecting the right arrow next to the Help icon.


How Text Commands are Added with Blocks

Screenshot of the VEX IQ Robotics platform interface showing the 'Add Print Block' feature in a Python tutorial, illustrating how to integrate print statements into programming for educational robotics projects.

Add a [Print] block to the project.

Screenshot of the VEXcode IQ code viewer displaying a block-based programming interface for Python tutorials, showcasing various coding blocks used for programming VEX IQ robots.

Select the Code Viewer icon to open the Code Viewer window.

Screenshot of the VEXcode IQ print block and code viewer interface, showcasing programming elements for VEX IQ robotics projects, as part of the Python tutorials in the VEX IQ knowledge base.

Notice that the print command will also be added to the Code Viewer window.


How Text Commands are Deleted with Blocks

Screenshot illustrating how to remove the print block in VEXcode IQ, part of the Python Tutorials section for VEX IQ Robotics, showcasing educational resources for building and programming robots.

Delete the [Print] block from the VEXcode IQ project.

Note: for more information on how to delete a block, view the Delete a Block article from the Knowledge Base.

Screenshot showing the removal of a block and command in VEXcode IQ, illustrating the programming interface for VEX IQ Robotics, relevant to Python tutorials for educational robotics projects.

Notice that the print command will also be deleted from the Command Viewer window.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: