Pushing Arduino code from C++ program

Robin2:
I have written this Python program to compile and upload Arduino programs by calling the Arduino IDE. I presume you can do the same with C++.

...R

After some updating the code to Python 3.5.2 and fighting Windows' aggressiveness toward making itself function properly, I got it to work! :slight_smile: Now, all I need to know are the different build options, specifically 'board', 'action' and 'port'. What are the formats for the 'board', is it just like it is in the default build options? (arduino:avr:uno for Uno) And for 'action', what can I supply there other than verify? And for 'port', how is that formatted on Windows machines? I know what COM-port the user has, but how should the argument be formatted on Windows?