Running a WebSocket Project#
The library will use the IP address configured in settings.json
. The default IP is set to 192.168.4.1
. Make sure to update the IP address in vex/settings.json
if necessary.
To run a project, use the python
command followed by the path to the file you want to run. For example:
1. Enter the Directory#
To run a Python file, open your terminal and navigate to the folder containing the file.
cd examples
2. Run the File Using Python#
python basic/colorful_square.py
Check out the AIM WebSocket API pages for information on the API and any differences between the VEXcode AIM Python API and the AIM WebSocket API.