Is there any Selenium-like software for executables? I have some app I want to test i.e. it has a window opening up and I want to press some of the buttons and fill in some text boxes, and I need to do the same process multiple times. 

I heard about selenium but it seems it only works on web-based apps, whereas my program is an executable program (and quite a heavy one while at it).  Is there something similar to this, a module to be added to selenium or a library for python/Matlab/C?

I’d appreciate any help with this.
I'm not a Windows user, but I'd start at Comparison of GUI testing tools, looking for those supporting Windows for both testing and tested system.