Like "control finder windows"
Google search terms:
python applescript
python apple events
Seriously, try those searches. The first page of results for the first search finds appscript, py-applescript, and articles like
Combining Python and AppleScript which specifically discusses rewriting from appscript to a different form. Another result is
Scripting Bridge, which has an example using python. There are more results, but you'd have to do the search yourself and read them before deciding if they're relevant to your goal.
Controlling Finder windows, or the windows of any app, will be accomplished using AppleEvents. The high-level representation of AppleEvents is AppleScript, using the terms (nouns and verbs) from a target application's scripting dictionary. If you don't know what an app's scripting dictionary is, you should acquaint yourself with the basics of scripting applications.
Depending on what your goals actually are, appscript could be completely fine. Just because appscript isn't supported any more doesn't mean it stopped working. You'd have to look at what OS version you're using, what OS versions appscript works with, and see if it's relevant to what you want to accomplish. Details matter when evaluating the appropriateness of a tool for a task. Since you haven't provided any details, no one can suggest a specific solution.