Electron microscopy
 
pywinauto
- Python for Integrated Circuits -
- An Online Book -
Python for Integrated Circuits                                                                                   http://www.globalsino.com/ICs/        


Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

=================================================================================

pywinauto is a set of python modules to automate the Microsoft Windows GUI.

Problem 76 (see page4806):
     Problem 76.A.
         Traceback (most recent call last):
         File "C:/GlobalSino2/ICs/pywinauto.py", line 4, in <module>
         from pywinauto.application import Application
         File "C:\GlobalSino2/ICs\pywinauto.py", line 4, in <module>
         from pywinauto.application import Application
         ModuleNotFoundError: No module named 'pywinauto.application'; 'pywinauto' is not a package
     Solution: pywinauto is not applicable in Python 3.10, but it works in Python 3.8.
     Problem 76.B.
         Traceback (most recent call last):
         File "C:/0Python/Codes/Code2.py", line 3, in <module>
         from pywinauto.application import Application
         File "C:\Users\yyliao\AppData\Local\Programs\Python\Python38\lib\site-packages\pywinauto\__init__.py", line 59, in <module>
         import win32api # noqa: E402
         ImportError: DLL load failed while importing win32api: The specified module could not be found.
     Solution: pip install pywin32==300 --upgrade

============================================

Open notepad app (works in the folder where the script is open when Problem 76 is being fixed, but not some other folders). code:
         Replace a letter by seek
     Output:    
         Replace a letter by seek         

         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         

 

 

 

 

 



















































 

 

 

 

 

=================================================================================