我想使用pywinauto自動化TomCat來啓動和停止每次我更新類文件。然而,當我嘗試運行它,它給了我以下警告: UserWarning: 32-bit application should be automated using 32-bit Python (you use 64-bit Python) 我敢肯定我有我想要的節目的64位版本(即使重新安裝,以確保)。有什麼辦法可以跳過這個警告,這
使用下面的代碼我可以發現,我想要連接的當前運行窗口被命名爲「Trade Monitor」,我如何成功連接到它?使用app.start_方法不起作用。 from pywinauto import application
app=application.Application
app.findwindows #prints all windows running on machine
app.