Εκτέλεση ενός έργου WebSocket#
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#
Για να εκτελέσετε ένα αρχείο Python, ανοίξτε το τερματικό σας και μεταβείτε στον φάκελο που περιέχει το αρχείο.
cd examples
2. Run the File Using Python#
python basic/colorful_square.py
Ανατρέξτε στις σελίδες AIM WebSocket API για πληροφορίες σχετικά με το API και τυχόν διαφορές μεταξύ του VEXcode AIM Python API και του AIM WebSocket API.