We're a place where coders share, stay up-to-date and grow their careers.
You could definitely use python to control a microcontroller like Arduino and as far as low level stuff python allows for c extensions to be included so it's definitely a good choice
MicroPython might be the answer here, it has support for ESP8266 Aarduino) and ESP32 (Arduino with built in WiFi) chipsets.
So having learnt python OP would be able to leverage the ai and machine learning libraries or use off the shelf microcontrollers.
Edit: docs : docs.micropython.org/en/latest/
You could definitely use python to control a microcontroller like Arduino and as far as low level stuff python allows for c extensions to be included so it's definitely a good choice
MicroPython might be the answer here, it has support for ESP8266 Aarduino) and ESP32 (Arduino with built in WiFi) chipsets.
So having learnt python OP would be able to leverage the ai and machine learning libraries or use off the shelf microcontrollers.
Edit: docs : docs.micropython.org/en/latest/