I am new to python and trying to write scripts in Spyder that use autoit but keep getting an error when I import autoit :
ModuleNotFoundError: No module named 'autoit'
First pip install -U pyautoit
and then add import autoit
You can also look at this question. Hope it will help you