Is there any python program which can make the IDE upload a sketch
doesn’t have to be a python program… but i would prefer it

Some more experienced users can correct me if I am wrong, but I believe that you could write the code in python, then use a compiler to translate it to C. Try searching for arduino python IDE or for arduino python to C translator.


It is amazing what you can find, if you would only use Google.

I wrote the Python program in this link to verify and upload my programs. The primary purpose was to help me manage my programs by making archive copies of the uploaded code and including the name of the archive file within the Arduino program. But there it would be easy to delete that feature if it is not wanted.