Upload sketch to arduino due using only python

Hi all,

I would like to be able to upload a sketch onto my arduino due using only python.

I am running an experiment and using the due as a waveform generator. Prior to each run I set a couple of parameters which are stored in an additional header file. The aim is to have all the software running through python commands, so instead of having to use the IDE to re-upload the sketch each time, I would like to be able to do this in python.

I have seen various libraries etc to implement this, but none which are compatible with both the arduino due and windows. Has anyone done this elsewhere? Or is there another way to do this?

Any help would be greatly appreciated!

Thanks!

Don't know if Python is capable to executing Windows command line. Apparently you can upload a sketch from Windows command line. So you need to see if Python is able to replicate that behavior.

I answered this question here.

...R