Closed ccc469 closed 9 hours ago
Hi! Sorry for my late reply. These days are really busy.
PyWinCtl doesn't support Python 3.7 anymore because of some limitations related to annotations and typing. Futhermore, Python 3.7 reached its End Of Life (EOF) on 2019. If you update your python version to a more recent one (e.g. 3.10 or 3.11), it should work fine!!!
Please let me know if this solves your issue.
Thank you!
Yes it works fine when I use a higher version of python
test.py
import pywinctl
print(pywinctl.getActiveWindow())
OS: Windows 10 (Windows Feature Experience Pack 120.2212.551.0)
I installed windows 10 on my virtual machine. Is it because of this problem?