i am trying to build a config script in python to change another exe config.. lets say i have the following program:
#include<stdio.h>
#include "windows.h"
int times=5;
int sleep=1000;
main() {
int i;
for (i=times;i>0;i--) {
printf("Hello i is %d \n",i);
Sleep(sleep);
}
}
and i have a compiled exe file called hello.exe, i want to make a python script that will work on the exe file and change the time and sleep variables... where can i read how to do it in python?? thanks