I had to learn on programming the Arduino for producing two square signals that operated in different frequencies and at the same time, had to perform a duty sweep along with a Frequency sweep. The Arduino had a machine level commands of nop; No Operation command, given directly to the required pins. Each nop has a time period of 62.5ns and manually doing each frequency seemed to be a time consuming process. Then scripting the a python code that could take inputs of Frequency and duty cycle and produce a .ino file that the Arduino reads was super efficient, files were created instantly. but i faced another issue my files contained periods in the files name i had to debug cause Arduino does not accept periods in its file names. Following is the script file that i converted into an executable using pyinstaller.